Skip to main content

Math functions

min

Commentary

added in 0.0.18

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


Examples

Apply min

{
"_gen": "min",
"args": [
10,
0,
4
]
}
[
0
]

Specification

JSON schema

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