Skip to content
Permalink
Browse files

array docs

  • Loading branch information
m-kuhn committed Jul 7, 2017
1 parent 25ad20c commit f379be2033b7e052d31fac86993a58d32bf57d86
Showing with 14 additions and 0 deletions.
  1. +7 −0 resources/function_help/json/array_first
  2. +7 −0 resources/function_help/json/array_last
@@ -0,0 +1,7 @@
{
"name": "array_first",
"type": "function",
"description": "Returns the first value of an array.",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [ { "expression":"array_first(array('a','b','c'))", "returns":"'a'"}]
}
@@ -0,0 +1,7 @@
{
"name": "array_last",
"type": "function",
"description": "Returns the last value of an array.",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [ { "expression":"array_last(array('a','b','c'))", "returns":"'c'"}]
}

0 comments on commit f379be2

Please sign in to comment.
You can’t perform that action at this time.