注意: 此页面尚未翻译成中文。以下内容为英文原版。
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.