Contents

contains(_:)

Indicates whether the index set contains a specific index.

Declaration

func contains(_ value: Int) -> Bool

Parameters

  • value:

    Index being inquired about.

Return Value

true when the index set contains index, false otherwise.

See Also

Querying Index Sets