Update resources/function_help/json/array_foreach

Co-authored-by: Björn <pathmapper@posteo.de>
This commit is contained in:
Nyall Dawson 2023-10-29 07:38:48 +10:00
parent 56c8419d42
commit fb98e1a1e8

View File

@ -8,7 +8,7 @@
"description": "an array"
}, {
"arg": "expression",
"description": "an expression to evaluate on each item. The variable `@element` will be replaced by the current value and the variable `@counter` by the current counter (starting with 0)."
"description": "an expression to evaluate on each item. The variable `@element` will be replaced by the current value and the variable `@counter` by the current index (starting with 0)."
}],
"examples": [{
"expression": "array_foreach(array('a','b','c'),upper(@element))",