From fb98e1a1e80a3195995330769f7f2fa9ba2f23df Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Sun, 29 Oct 2023 07:38:48 +1000 Subject: [PATCH] Update resources/function_help/json/array_foreach MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Björn --- resources/function_help/json/array_foreach | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/function_help/json/array_foreach b/resources/function_help/json/array_foreach index aacfd7da34f..e7683c3c5ca 100644 --- a/resources/function_help/json/array_foreach +++ b/resources/function_help/json/array_foreach @@ -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))",