SwiftextensionSwiftUICore

extension Swift.ClosedRange

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 8

  1. funcClosedRange.contains(ClosedRange<A>) -> Bool
  2. funcClosedRange.intersection(ClosedRange<A>) -> ClosedRange<A>?
  3. funcClosedRange< where A: SignedNumeric>.offset(by: A) -> ClosedRange<A>
  4. funcClosedRange< where A == Foundation.Date>.progress(at: Foundation.Date, countdown: Bool) -> Double
  5. funcClosedRange.union(ClosedRange<A>) -> ClosedRange<A>
  6. initClosedRange.init(bounds: A, _: A) -> ClosedRange<A>
  7. varvar length: A { get }
  8. varvar meanBound: CoreGraphics.CGFloat { get }
extension Swift.ClosedRange {
    init(bounds: A, _: A)

    func progress(at: Foundation.Date, countdown: Swift.Bool) -> Swift.Double where A == Foundation.Date
    func intersection(_: Swift.ClosedRange<A>) -> Swift.ClosedRange<A>?
    func union(_: Swift.ClosedRange<A>) -> Swift.ClosedRange<A>
    func contains(_: Swift.ClosedRange<A>) -> Swift.Bool
    func offset(by: A) -> Swift.ClosedRange<A> where A: Swift.SignedNumeric
}