SwiftfunclibswiftCoreSwift.Collection
firstIndex
Collection.firstIndex(where: (A.Element) throws -> Bool) throws -> A.Index?
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
param{}
- 0where:function
(A.Element) throws -> Boolthrows- paramassociatedType
Element- basegenericParameter
A
result{}
enumSwift.Optional
- argassociatedType
Index- basegenericParameter
A