-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE][expression] New array_all() function to check whether
an array contains _all_ values of another given array.
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "array_all", | ||
"type": "function", | ||
"description": "Returns true if an array contains the all 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"}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters