toInt (Function)
Signature: toInt(value: t0) -> int
Description: Converts any integer type to int. Exact and total: every integer type fits.
Parameters
- value (
t0): The integer to convert
Returns: int
Example
let n: uint8 = 200
print(toInt(n)) // 200
n = 200
print (toInt n) // 200