SwiftinitAppIntentSchemasAppIntentSchemas.Dialog.Switch

init

AppIntentSchemas.Dialog.Switch.init<A where A: Decodable, A: Encodable, A: Hashable, A: Sendable>(_: AppIntentSchemas.ParameterSchema, cases: () -> [AppIntentSchemas.Dialog.SwitchCase<A>]) -> AppIntentSchemas.Dialog.Switch

Structure

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

generic{}

A

req{}

param{}

  1. 0_
  2. 1cases:
    function() -> [AppIntentSchemas.Dialog.SwitchCase<A>]