Skip to content

Commit

Permalink
array docs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 7, 2017
1 parent 25ad20c commit f379be2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resources/function_help/json/array_first
Original file line number Diff line number Diff line change
@@ -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'"}]
}
7 changes: 7 additions & 0 deletions resources/function_help/json/array_last
Original file line number Diff line number Diff line change
@@ -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.