참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
function getBigInt(value, name?): bigint
Gets a BigInt from value. If it is an invalid value for a BigInt, then an ArgumentError will be thrown for name.

Parameters

ParameterTypeDescription
valueBigNumberishThe value to convert.
name?stringThe name of the value.

Returns

bigint The value.

Source

utils/maths.ts:120