SwiftfuncPromptKitPromptKit.ChatMessagePrompt

compactMapStringComponents

PromptKit.ChatMessagePrompt.compactMapStringComponents((String) async throws -> String?) async throws -> PromptKit.ChatMessagePrompt

Structure

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

param{}

  1. 0_
    function(String) async throws -> String?asyncthrows