22 lines
537 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"]
}