FixedWidthIntegerRandomizable
public protocol FixedWidthIntegerRandomizable : FixedWidthInteger
Mechanica
FixedWidthInteger
random protocol.
-
Mechanica
Returns a random value between
lowerBound
andupperBound
-1 values.Declaration
Swift
static func random(lowerBound: Self, upperBound: Self) -> Self