2016-09-20 13:22:55 +02:00

9 lines
383 B
Plaintext

{
"name": "array_find",
"type": "function",
"description": "Returns the index (0 for the first one) of a value within an array. Returns -1 if the value is not found.",
"arguments": [ {"arg":"array","description":"an array"},
{"arg":"value","description":"the value to search"}],
"examples": [ { "expression":"array_find(array(1,2,3),2)", "returns":"1"}]
}