resolve
TypeScriptresolve(input: number, context: IntentParameterContext<number>): Promise<(number) | null>Swift declarationfunc resolve(from input: Int, context: IntentParameterContext<Int>) async throws -> Int?Converts the specified value into the expected data type. - Parameters: - input: The value to convert. - context: Contextual resolution information, including resolution source and information about the associated parameter if applicable. - Returns: The converted value, or `nil` if conversion fails.