IntegerRandomizable

public protocol IntegerRandomizable

Mechanica - TODO: Rename this protocol FixedWidthIntegerRandomizable with Swift 4.

  • Mechanica

    Returns a random value between min and max values. Mechanica

    Returns a random value bounded by a closed interval range.

    Declaration

    Swift

    static func random(min: Self, max: Self) -> Self