Utils
getBigInt
Gets a BigInt from value
. If it is an invalid value for a BigInt, then an ArgumentError will be thrown for name
.
Parameters
Parameter | Type | Description |
---|---|---|
value | BigNumberish | The value to convert. |
name ? | string | The name of the value. |
Returns
bigint
The value.
Source
Was this page helpful?