buildOptional(_:)
Creates a component from a conditional statement with no alternative branch.
Declaration
static func buildOptional(_ component: [any AppIntentExpectationProviding]?) -> [any AppIntentExpectationProviding]Creates a component from a conditional statement with no alternative branch.
static func buildOptional(_ component: [any AppIntentExpectationProviding]?) -> [any AppIntentExpectationProviding]