Instance Propertyswift 6.0.1Swift
description
A textual representation of the range.
var description: String { get }
Other members in extension
Type members
static func == (lhs: Range<Bound>, rhs: Range<Bound>
) -> Bool Returns a Boolean value indicating whether two ranges are equal.
Instance members
var customMirror: Mirror
var debugDescription: String
A textual representation of the range, suitable for debugging.
func clamped(to: Range<Bound>
) -> Range<Bound> Returns a copy of this range clamped to the given limiting range.
func overlaps(ClosedRange<Bound>
) -> Bool func overlaps(Range<Bound>
) -> Bool Returns a Boolean value indicating whether this range and the given range contain an element in common.
func relative<C>(to: C
) -> Range<Bound> Returns the range of indices described by this range expression within the given collection.