@ganache/utils
Version:
Utility functions for @ganache packages
11 lines • 651 B
TypeScript
/**
* Returns the largest of the numbers/bigints given as input parameters. Throws if no values are given.
* @param numbers One or more numbers and/or bigints among which the largest value will be selected and returned.
*/
export declare const max: (...numbers: (number | bigint)[]) => number | bigint;
/**
* Returns the smallest of the numbers/bigints given as input parameters. Throws if no values are given.
* @param numbers One or more numbers and/or bigints among which the smallest value will be selected and returned.
*/
export declare const min: (...numbers: (number | bigint)[]) => number | bigint;
//# sourceMappingURL=min-max.d.ts.map