ClosedRange

extension ClosedRange: RangeProtocol
extension ClosedRange: Zero where Bound: Zero
extension ClosedRange: AdditiveSemigroup where Bound: Zero
extension ClosedRange: Additive where Bound: Zero

Available where Bound: Zero

  • Declaration

    Swift

    public static var zero: ClosedRange { get }
  • Declaration

    Swift

    public static func + (lhs: ClosedRange, rhs: ClosedRange) -> ClosedRange