2022-04-04 09:47:19 +10:00

22 lines
558 B
Plaintext

{
"name": "array_all",
"type": "function",
"groups": ["Arrays"],
"description": "Returns TRUE if an array contains all the values of a given array.",
"arguments": [{
"arg": "array_a",
"description": "an array"
}, {
"arg": "array_b",
"description": "the array of values to search"
}],
"examples": [{
"expression": "array_all(array(1,2,3),array(2,3))",
"returns": "TRUE"
}, {
"expression": "array_all(array(1,2,3),array(1,2,4))",
"returns": "FALSE"
}],
"tags": ["array", "contains", "compare", "search"]
}