Const
Casts a number to the Int32 branded type.
number
Int32
Validates that the value is an integer in [-2^31, 2^31) and returns it with the Int32 brand. Throws a TypeError otherwise.
TypeError
The value as an Int32
If the value is not an integer in [-2^31, 2^31)
Casts a
numberto theInt32branded type.Validates that the value is an integer in [-2^31, 2^31) and returns it with the
Int32brand. Throws aTypeErrorotherwise.