참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
function toBigInt(value): bigint
Converts value to a BigInt. If value is a Uint8Array, it is treated as Big Endian data.

Parameters

ParameterTypeDescription
valueUint8Array | BigNumberishThe value to convert.

Returns

bigint The value.

Source

utils/maths.ts:189