-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathall.json
More file actions
142 lines (142 loc) · 3.86 KB
/
all.json
File metadata and controls
142 lines (142 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"id": "all",
"summary": "Are all of the values true?",
"description": "Checks if **all** of the values in `data` are true. If no value is given (i.e. the array is empty) the process returns `true`.\n\nBy default, all no-data values are ignored so that the process returns `true` if all values are no-data or true, and `false` otherwise. Setting the `ignore_nodata` flag to `false` takes no-data values into account and the array values are reduced pairwise according to the following truth table:\n\n```\n || no-data | false | true\n------- || ------- | ----- | -------\nno-data || no-data | false | no-data\nfalse || false | false | false\ntrue || no-data | false | true\n```\n\n**Remark:** The process evaluates all values in an arbitrary order and stops once the outcome is unambiguous, i.e. when either a `false` value is encountered, or when all values have been taken into account.",
"categories": [
"logic",
"reducer"
],
"parameters": [
{
"name": "data",
"description": "A set of boolean values.",
"schema": {
"type": "array",
"items": {
"type": [
"boolean",
"null"
]
}
}
},
{
"name": "ignore_nodata",
"description": "Indicates whether no-data values are ignored or not. Ignores them by default.",
"schema": {
"type": "boolean"
},
"default": true,
"optional": true
}
],
"returns": {
"description": "Boolean result of the logical operation.",
"schema": {
"type": [
"boolean",
"null"
]
}
},
"examples": [
{
"arguments": {
"data": [
false,
null
]
},
"returns": false
},
{
"arguments": {
"data": [
true,
null
]
},
"returns": true
},
{
"arguments": {
"data": [
false,
null
],
"ignore_nodata": false
},
"returns": false
},
{
"arguments": {
"data": [
true,
null
],
"ignore_nodata": false
},
"returns": null
},
{
"arguments": {
"data": [
true,
false,
true,
false
]
},
"returns": false
},
{
"arguments": {
"data": [
true,
false
]
},
"returns": false
},
{
"arguments": {
"data": [
true,
true
]
},
"returns": true
},
{
"arguments": {
"data": [
true
]
},
"returns": true
},
{
"arguments": {
"data": [
null
],
"ignore_nodata": false
},
"returns": null
},
{
"arguments": {
"data": [
null
]
},
"returns": true
},
{
"arguments": {
"data": []
},
"returns": true
}
]
}