IntRange
public struct IntRange
A configuration object used to define range boundaries for use during random value generation.
-
The lowest allowable return value, aka: the lower-bound of the range.
Declaration
Swift
public var lower: UInt32 -
The highest allowable return value, aka: the upper-bound of the range.
Declaration
Swift
public var upper: UInt32 -
Initializes an
IntRangefromIntvalues, converting them toUInt32automatically.Declaration
Swift
public init(lower: Int, upper: Int)
IntRange Structure Reference