Skip to main content
Validates a phone number is in E.164 format. E.164 format requirements:
  • Starts with +
  • Followed by country code (1-3 digits)
  • Followed by subscriber number
  • Total length: 1-15 digits (excluding the + prefix)

Parameters

Returns

void

Throws

Error if the phone number is not in valid E.164 format.

Example