Skip to main content

Math functions

max

Commentary

added in 0.0.18

Generates the maximum value of args. You can also use this function through an infix math expression.


Examples

Applying max

{
"_gen": "max",
"args": [
8,
4,
50
]
}
[
50
]

Specification

JSON schema

{
"type": "object",
"properties": {
"args": {
"oneOf": [
{
"type": "array",
"minItems": 1
},
{
"type": "object",
"properties": {
"_gen": {
"type": "string"
}
},
"required": [
"_gen"
]
}
]
}
},
"required": [
"args"
]
}