@polkadot/util
Version:
A collection of useful utilities for @polkadot
11 lines (10 loc) • 301 B
TypeScript
/**
* @name nMax
* @summary Finds and returns the highest value in an array of bigint.
*/
export declare function nMax(...items: bigint[]): bigint;
/**
* @name nMin
* @summary Finds and returns the lowest value in an array of bigint.
*/
export declare function nMin(...items: bigint[]): bigint;