Returns the first index in which an element of the collection satisfies the given predicate.
SDK
- Xcode 11.2–11.2Deprecated
Framework
- Swift Standard Library
Declaration
func index(where _predicate: (Collection Difference<ChangeElement>.Change) throws -> Bool) rethrows -> Collection Difference<ChangeElement>.Index?