js-util

Home > rc-js-util > _Math > max

_Math.max property

Returns the larger of the two parameters a and b.

Signature:

static readonly max: typeof mathMax;

Remarks

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

See mathMax().