toUint16 (Function)
Signature: toUint16(value: t0) -> uint16
Description: Converts any integer type to uint16. A value outside 0..65535 performs Arith.overflow with the source as its operand.
Parameters
- value (
t0): The integer to convert
Returns: uint16
Example
print(toUint16(50000)) // 50000
print (toUint16 50000) // 50000