This combinator transforms a string into a number by parsing the string using the Number function.
string
number
Number
It returns an error if the value can't be converted (for example when non-numeric characters are provided).
The following special string values are supported: "NaN", "Infinity", "-Infinity".
The schema representing the input string
1.0.0
This combinator transforms a
string
into anumber
by parsing the string using theNumber
function.It returns an error if the value can't be converted (for example when non-numeric characters are provided).
The following special string values are supported: "NaN", "Infinity", "-Infinity".