Extends
Methods
(static) cast(value) → {number}
Casts the specified value to a number.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- Type
- number
(static) validate(value) → {boolean}
Determines whether the specified value can be cast to a number.
Parameters:
Name | Type | Description |
---|---|---|
value |
* |
- Source:
Returns:
- Type
- boolean