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