@tempots/std

biIsOne() function

Checks if a given bigint is equal to 1n.

Signature:

biIsOne: (x: bigint) => boolean

Parameters

Parameter

Type

Description

x

bigint

The bigint to check.

Returns: boolean

true if the bigint is equal to 1n, false otherwise.