ToSafeIntX extension
Extension on num to allow safe integer conversions.
- on
Methods
-
toSafeUInt32(
) → int -
Available on num, provided by the ToSafeIntX extension
Converts the number to a valid uint32 value. -
toSafeUInt64(
) → int -
Available on num, provided by the ToSafeIntX extension
Converts the number to a valid uint64 value.
Static Properties
- maxSafeInteger → int
-
Available on num, provided by the ToSafeIntX extension
The maximum possible value of an unsigned integer in JavaScript.no setter
Constants
- uint32SafeMax → const int
- The maximum possible value of an usigned 32bit integer.