UInt16
struct UInt16 : FixedWidthInteger, UnsignedInteger
-
Mechanica
Warning
The range is exclusive [lowerBound, upperBound).Declaration
Swift
public static func random(lowerBound: UInt16, upperBound: UInt16) -> UInt16
Parameters
lowerBound
lowerBound value
upperBound
upperBound value
Return Value
A random UInt16 between
lowerBound
andupperBound
-1 values.