Core
struct.number
Struct that accepts number values except NaN.
@defjs/core · Function
Signature
function number(): NumberStruct;
-
Accepts
numbervalues, includingInfinity.NaNand non-numbers fail withinvalid_type. -
Strings are not coerced.
Struct that accepts number values except NaN.
@defjs/core · Function
function number(): NumberStruct;
Accepts number values, including Infinity. NaN and non-numbers fail with invalid_type.
Strings are not coerced.