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