IntegerRange
public struct IntegerRange : Hashable
An integer range [min, max] with inclusive minimum and maximum value.
-
Minimum of the range.
Declaration
Swift
public var min: Int32 -
Maximum of the range. If not set, maximum is unbounded.
Declaration
Swift
public var max: Int32? -
Creates a new instance.
Declaration
Swift
public init(min: Int32, max: Int32? = nil)