resolve(from:context:)
Converts the specified value into the expected data type.
Declaration
func resolve(from input: Self.Input, context: IntentParameterContext<Self.Output>) async throws -> Self.Output?Parameters
- input:
The value to convert.
- context:
Contextual resolution information, including resolution source and information about the associated parameter if applicable.
Return Value
The converted value, or nil if conversion fails.