Skip to content

bigIntMin

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.

readonly bigint[]

The values to compare, as an array or as separate arguments.

bigint

When no value is given.

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.

…bigint[]

The values to compare, as an array or as separate arguments.

bigint

When no value is given.