Instance Methodswift 6.0.1Swift

    formUnion(_:)

    Adds the contents of the given range set to this range set.

    iOS
    18.0+
    macOS
    15.0+
    tvOS
    18.0+
    visionOS
    2.0+
    watchOS
    11.0+
    mutating func formUnion(_ other: RangeSet<Bound>)

    Parameters

    other

    A range set to merge with this one.

    Other members in extension

    Types

    • struct Ranges

      A collection of the ranges that make up a range set.

    Type members

    Instance members