Operations (sample payloads)

Main operations
Copy

Evaluation
Copy

Perform (complex) truthy evaluations on the specified values, conditions, and conjunctions.

Sample Input

1
{
2
"initial_condition": {
3
"value1": 10,
4
"condition": ">",
5
"value2": 5,
6
"not": false
7
},
8
"further_conditions": [
9
{
10
"conjunction": "AND",
11
"value1": "apple",
12
"condition": "In",
13
"value2": [
14
"apple",
15
"banana",
16
"orange"
17
],
18
"not": false
19
},
20
{
21
"conjunction": "OR",
22
"value1": true,
23
"condition": "===",
24
"value2": false,
25
"not": true
26
}
27
],
28
"initial_not": false,
29
"further_groups": [
30
{
31
"conjunction": "OR",
32
"initial_condition": {
33
"value1": "hello",
34
"condition": "===",
35
"value2": "world",
36
"not": false
37
},
38
"further_conditions": [
39
{
40
"conjunction": "AND",
41
"value1": 100,
42
"condition": "<=",
43
"value2": 200,
44
"not": false
45
}
46
],
47
"group_not": false
48
}
49
]
50
}

Sample Output

1
{
2
"result": true
3
}

Logical XOR XNOR
Copy

Perform either a XOR or XNOR evaluation on the two specified values by their given truthy.

Sample Input

1
{
2
"value1": true,
3
"condition": "XOR",
4
"value2": false
5
}

Sample Output

1
{
2
"result": true
3
}

Truthy
Copy

Returns a boolean (true or false) for any given value.

Sample Input

1
{
2
"value": "Hello, World!"
3
}

Sample Output

1
{
2
"result": true
3
}