isValidPhoneNumber

Performs basic validation on the input phone number. Note that passing this stage of validation allows a phone number to be sent to Braze server, which may perform additional validation.

Return

true if the phone number is valid, false otherwise.

Parameters

phoneNumber

The phone number to validate

See also

.PHONE_NUMBER_REGEX