Const
Decode an integer. Floating point values are not accepted.
decode(Decode.number, 42) == 42decode(Decode.number, 42.2) // Throwsdecode(Decode.number, NaN) // Throws Copy
decode(Decode.number, 42) == 42decode(Decode.number, 42.2) // Throwsdecode(Decode.number, NaN) // Throws
Generated using TypeDoc
Decode an integer. Floating point values are not accepted.