PhoneNumberValidation extension
- on
Methods
-
validatePhone(
) → bool -
Available on String, provided by the PhoneNumberValidation extension
Validates whether the string is a valid phone number. -
validatePhoneWithCountryCode(
) → bool -
Available on String, provided by the PhoneNumberValidation extension
Validates whether the string is a valid phone number with an optional country code.