UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

21 lines (11 loc) 599 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Math](./rc-js-util._math.md) &gt; [max](./rc-js-util._math.max.md) ## \_Math.max property Returns the larger of the two parameters `a` and `b`<!-- -->. **Signature:** ```typescript 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()](./rc-js-util.mathmax.md)<!-- -->.