added help jsons

This commit is contained in:
uclaros 2020-12-01 10:43:45 +02:00 committed by Nyall Dawson
parent 0a5f492864
commit d24f9a13c8
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
{
"name": "array_max",
"type": "function",
"groups": ["Arrays"],
"description": "Returns the maximum value of an array.",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [ { "expression":"array_max(array(0,42,4,2))", "returns":"42"}]
}

View File

@ -0,0 +1,8 @@
{
"name": "array_min",
"type": "function",
"groups": ["Arrays"],
"description": "Returns the minimum value of an array.",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [ { "expression":"array_min(array(43,42,54))", "returns":"42"}]
}