The type of the input value; must extend string
.
The type of the output value; must extend number
.
Checks if the given value can be converted by this converter.
The value to check.
True if the value can be converted, false otherwise.
Returns the reverse converter for this converter.
Protected
throwThrows a ConversionError for the given value.
The value that caused the conversion error.
never - This function does not return; it always throws an error.
Static
getReturns the singleton instance of the StringToNumberConverter.
The type of the input value; must extend string
.
The type of the output value; must extend number
.
The singleton instance of the StringToNumberConverter.
Converter that converts a "string" to a "number".