Contents

contains(_:)

Indicates whether the receiving index set contains a superset of the indexes in another index set.

Declaration

func contains(_ indexSet: IndexSet) -> Bool

Parameters

  • indexSet:

    Index set being inquired about.

Return Value

true when the receiving index set contains a superset of the indexes in indexSet, false otherwise.

See Also

Querying Index Sets