Contents

filteredIndexSet(includeInteger:)

Returns an IndexSet filtered according to the result of includeInteger.

Declaration

func filteredIndexSet(includeInteger: (IndexSet.Element) throws -> Bool) rethrows -> IndexSet

Parameters

  • includeInteger:

    The predicate which decides if an integer will be included in the result or not.

See Also

Selecting Elements