mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
10 lines
407 B
Plaintext
10 lines
407 B
Plaintext
{
|
|
"name": "array_find",
|
|
"type": "function",
|
|
"groups": ["Arrays"],
|
|
"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"}]
|
|
}
|