bigIntMin
Call Signature
Section titled “Call Signature”bigIntMin(
values):bigint
Defined in: packages/core/src/big-int/min-max.ts:15
Smallest of values — the bigint equivalent Math.min does not accept.
Math.min() answers Infinity for an empty list; bigint has no infinity
to answer with, so an empty list throws instead of inventing a sentinel.
Parameters
Section titled “Parameters”values
Section titled “values”readonly bigint[]
The values to compare, as an array or as separate arguments.
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”When no value is given.
Call Signature
Section titled “Call Signature”bigIntMin(…
values):bigint
Defined in: packages/core/src/big-int/min-max.ts:16
Smallest of values — the bigint equivalent Math.min does not accept.
Math.min() answers Infinity for an empty list; bigint has no infinity
to answer with, so an empty list throws instead of inventing a sentinel.
Parameters
Section titled “Parameters”values
Section titled “values”…bigint[]
The values to compare, as an array or as separate arguments.
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”When no value is given.