init
TypeScriptstatic init(radix?: number): IntFromStringResolverSwift declarationinit(radix: Int = 10)struct · iOS 16.0+ · SDK 27.1
struct IntFromStringResolverA resolver that converts a string into an integer in the specified base and validates the result is within the parameter's inclusive range.
static init(radix?: number): IntFromStringResolverSwift declarationinit(radix: Int = 10)get radix(): numberSwift declarationvar radix: Intset radix(value: number)Swift declarationvar radix: Intresolve(input: string, context: IntentParameterContext<number>): Promise<(number) | null>Swift declarationfunc resolve(from input: String, 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.
No declarations were skipped in this snapshot.