SwiftextensionSwiftUICore
extension Swift.ClosedRange
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structSwift.ClosedRange
Members 8
- func
ClosedRange.contains(ClosedRange<A>) -> Bool - func
ClosedRange.intersection(ClosedRange<A>) -> ClosedRange<A>? - func
ClosedRange< where A: SignedNumeric>.offset(by: A) -> ClosedRange<A> - func
ClosedRange< where A == Foundation.Date>.progress(at: Foundation.Date, countdown: Bool) -> Double - func
ClosedRange.union(ClosedRange<A>) -> ClosedRange<A> - init
ClosedRange.init(bounds: A, _: A) -> ClosedRange<A> - var
var length: A { get } - var
var meanBound: CoreGraphics.CGFloat { get }
Header
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 }