UInt16

struct UInt16 : FixedWidthInteger, UnsignedInteger
  • Mechanica

    Warning

    lowerBound is inclusive and upperBound is exclusive.

    Declaration

    Swift

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

    Parameters

    lowerBound

    lowerBound value

    upperBound

    upperBound value

    Return Value

    A random UInt16 between lowerBound and upperBound-1 values.