Const
Casts a number to the Uint32 branded type.
number
Uint32
Validates that the value is a non-negative integer less than 2^32 and returns it with the Uint32 brand. Throws a TypeError otherwise.
TypeError
The value as an Uint32
If the value is not a non-negative integer less than 2^32
Casts a
numberto theUint32branded type.Validates that the value is a non-negative integer less than 2^32 and returns it with the
Uint32brand. Throws aTypeErrorotherwise.