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{}

  1. 0where:
    function(A.Element) throws -> Boolthrows
    • paramassociatedTypeElement
      • basegenericParameterA
    • returnsstructSwift.Bool

result{}

  • argassociatedTypeIndex
    • basegenericParameterA