mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
19 lines
446 B
Plaintext
19 lines
446 B
Plaintext
{
|
|
"name": "array_prepend",
|
|
"type": "function",
|
|
"groups": ["Arrays"],
|
|
"description": "Returns an array with the given value added at the beginning.",
|
|
"arguments": [{
|
|
"arg": "array",
|
|
"description": "an array"
|
|
}, {
|
|
"arg": "value",
|
|
"description": "the value to add"
|
|
}],
|
|
"examples": [{
|
|
"expression": "array_prepend(array(1,2,3),0)",
|
|
"returns": "[ 0, 1, 2, 3 ]"
|
|
}],
|
|
"tags": ["array", "added", "beginning"]
|
|
}
|