js-util

Home > rc-js-util > _Math > min

_Math.min property

Returns the smaller of the two parameters a and b.

Signature:

static readonly min: typeof mathMin;

Remarks

NaN comparison will cause a debug error. Differs from Math.min by taking only 2 arguments, avoids overhead of handling variable number of arguments.

See mathMin().