toInt32 (Function)
Signature: toInt32(value: t0) -> int32
Description: Converts any integer type to int32. A value outside the 32-bit signed range performs Arith.overflow with the source as its operand.
Parameters
- value (
t0): The integer to convert
Returns: int32
Example
print(toInt32(100000)) // 100000
print (toInt32 100000) // 100000