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