$$xor
Evaluates to true
if only one of the values provided will evaluate to true
(using the Truthy logic).
Usage​
{
"$$xor": [ /* values */ ]
}
Returns​
boolean
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | array | Yes | Values to check |
Examples​
Input
Definition
Output
{
"$$xor": [
true,
true,
false
]
}
false
{
"$$xor": [
true,
false,
false
]
}
true