UInt16
struct UInt16 : FixedWidthInteger, UnsignedInteger
-
Mechanica
Warning
lowerBound
is inclusive andupperBound
is exclusive.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.