FixedWidthInteger
protocol FixedWidthInteger : BinaryInteger, LosslessStringConvertible
-
Mechanica
Returns a random Integer bounded by a closed interval range.
Declaration
Swift
public static func random(in range: CountableClosedRange<Self>) -> Self
-
Mechanica
Returns a random Integer bounded by a closed interval range.
Declaration
Swift
public static func random(in range: CountableRange<Self>) -> Self