Back to functions

min


minimum

Returns the min of a set of numbers. Maps directly to Math.min(... args) if numeric.


Usage: nerdamer("min(... args)")


Parameters

expression args A variable number of arguments

EXAMPLES:
var x = nerdamer('min(5, 2, 11)').evaluate();
console.log(x.toString());
x = nerdamer('min(x*x, y, z)');
console.log(x.toString());
OUTPUT:
Back to functions