SwiftfuncSonicFoundationSwift.Sequence

compactMap

Sequence.compactMap<A>((A.Element) async throws -> A1?) async throws -> [A1]

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

AA1

param{}

  1. 0_
    function(A.Element) async throws -> A1?asyncthrows
    • paramassociatedTypeElement
      • basegenericParameterA
    • returnsenumSwift.Optional
      • arggenericParameterA1

result{}

  • arggenericParameterA1