makeContainer(context:)
Creates a container that represents this optional intent value.
Declaration
func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainerParameters
- context:
The context to use for the conversion.
Return Value
An intent value container representing this optional value.
Discussion
If the optional is nil, it creates a container that resolves to a null vlaue. If the optional isn’t nil, it delegates the conversation to the wrapped value’s container creation.