Skip to content

PhoneDetails Type documentation

Describes the phone number, its validity and associated country information.
Properties
CountryInfo object containing name, countryCode and isoCode of the phone number.
country?: CountryInfo
Confirms if the phone number is valid or not
isValid: boolean
Phone number entered by the user.
phoneNumber?: string

Types Documentation

Describes the country information of the phone number.
Properties
The country dial code
countryCode: number
The country ISO code.
isoCode: string
The name of the country.
name: string

Except where otherwise noted, content on this site is licensed under MIT License.