Skip to content

Commit

Permalink
fix array formatting for array_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and nyalldawson committed Aug 25, 2018
1 parent 38d1c68 commit d65ad45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/json/array_filter
Expand Up @@ -7,6 +7,6 @@
{"arg":"expression","description":"an expression to evaluate on each item. The variable `@element` will be replaced by the current value."}
],
"examples": [
{ "expression": "array_filter(array(1,2,3),@element < 3)", "returns":"array: 1, 2"}
{ "expression": "array_filter(array(1,2,3),@element < 3)", "returns":"[ 1, 2 ]"}
]
}

1 comment on commit d65ad45

@m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented on d65ad45 Aug 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

Please sign in to comment.