QGIS/resources/function_help/json/array_remove_at
2022-01-31 13:31:02 +10:00

11 lines
575 B
Plaintext

{
"name": "array_remove_at",
"type": "function",
"groups": ["Arrays"],
"description": "Returns an array with the item at the given index remove. Support positive (0 for the first element) and negative( the last -Nth value, -1 for the last element) index.",
"arguments": [ {"arg":"array","description":"an array"},
{"arg":"pos","description":"the position to remove (0 based)"}],
"examples": [ { "expression":"array_remove_at(array(1,2,3),1)", "returns":"[ 1, 3 ]"},
{ "expression":"array_remove_at(array(1,2,3),-1)", "returns":"[ 1, 2 ]"}]
}