toUint32 (Function)

Signature: toUint32(value: t0) -> uint32

Description: Converts any integer type to uint32. A value outside the 32-bit unsigned range performs Arith.overflow with the source as its operand.

Parameters

  • value (t0): The integer to convert

Returns: uint32

Example

print(toUint32(4000000000))  // 4000000000
print (toUint32 4000000000)  // 4000000000