10 lines
448 B
Plaintext
Raw Normal View History

{
"name": "array_insert",
"type": "function",
"description": "Returns an array with the given value added at the given position.",
"arguments": [ {"arg":"array","description":"an array"},
2016-10-20 18:16:37 +02:00
{"arg":"pos","description":"the position where to add (0 based)"},
{"arg":"value","description":"the value to add"}],
"examples": [ { "expression":"array_insert(array(1,2,3),1,100)", "returns":"array: 1,100,2,3"}]
}