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