value. If it is an invalid value for a number, then an ArgumentError will be thrown for name.
Parameters
Returns
number
The value.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function getNumber(value, name?): number
value. If it is an invalid value for a number, then an ArgumentError will be thrown for name.
| Parameter | Type | Description |
|---|---|---|
value | BigNumberish | The value to convert. |
name? | string | The name of the value. |
number
The value.
Was this page helpful?
