22 lines
558 B
Plaintext
Raw Normal View History

{
"name": "array_all",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["Arrays"],
2019-08-22 15:50:28 +02:00
"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"]
}