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
IntRange
fromInt
values, converting them toUInt32
automatically.Declaration
Swift
public init(lower: Int, upper: Int)