{
"id": "fn-math-min",
"dataComponent": "math",
"heading": {
"title": "min",
"badges": ["Math", "JSMath", "PARTIAL"]
},
"synopsis": "Returns the smallest of a set of numeric arguments (variadic). Partial usage accumulates arguments until final call.",
"codeBlocks": [
"extend(\"math\")\\n\\nsput( math:min(5, 2, 10, 0) )\\n# => 0\\n\\n# Variadic\\nsput( math:min(100, 50, -20, 999) )\\n# => -20\\n\\n# Partial usage\\npartMin = math:min(30)\\nsput( partMin(50, 2, 40) )\\n# => 2"
],
"notes": [
"Any number of numeric arguments. If bridging sees no final arguments, the result might be +Infinity or an error.",
"Partial usage: supply arguments in stages until final invocation."
]
}