2019-04-09 10:31:18 +07:00
|
|
|
{
|
|
|
|
"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.",
|
2022-01-07 08:33:29 -05:00
|
|
|
"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"
|
|
|
|
}],
|
2022-01-11 11:17:49 -05:00
|
|
|
"tags": ["array", "contains", "compare", "search"]
|
2019-04-09 10:31:18 +07:00
|
|
|
}
|