UInt8

struct UInt8 : FixedWidthInteger, UnsignedInteger
  • Mechanica

    Warning

    The range is exclusive [lowerBound, upperBound).

    Declaration

    Swift

    public static func random(lowerBound: UInt8, upperBound: UInt8) -> UInt8

    Parameters

    lowerBound

    lowerBound value

    upperBound

    upperBound value

    Return Value

    A random UInt8 between lowerBound and upperBound -1 values.