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.
12 lines • 375 B
TypeScript
/**
* @public
* Returns the smaller of the two parameters `a` and `b`.
*
* @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 {@link mathMin}.
*/
export declare function mathMin(a: number, b: number): number;
//# sourceMappingURL=math-min.d.ts.map