Instance Method

index(where:)

Returns the first index in which an element of the collection satisfies the given predicate.

Declaration

Current

func index(where _predicate: (Change) throws -> Bool) rethrows -> Index?

Previous

func index(where _predicate: (CollectionDifference<ChangeElement>.Change) throws -> Bool) rethrows -> CollectionDifference<ChangeElement>.Index?