Determines the type of a phone number. Only LANDLINE, MOBILE, and VOIP are returned as valid types. All other types (toll-free, premium, etc.) return INVALID.
The phone number string to classify
Parsing options including default region
The phone number type (LANDLINE, MOBILE, VOIP, or INVALID)
Determines the type of a phone number. Only LANDLINE, MOBILE, and VOIP are returned as valid types. All other types (toll-free, premium, etc.) return INVALID.