toUInt32()
Converts the JavaScript value to a native unsigned integer value.
Declaration
func toUInt32() -> UInt32Return Value
The native unsigned 32-bit integer value.
Discussion
This method uses JavaScript type coercion to convert the value to a JavaScript integer value, then returns a native representation of the result. In JavaScript, all numeric values are treated as double-precision floating-point numbers except for certain operations such as bit shifts.