helpers/phone/normalize_phone library
Constants
- ecCountryCode → const String
- Ecuador country code.
Functions
-
normalizePhone(
String input) → String -
Normalizes the input phone number by removing separators and unifying the
international prefix notation (
00593,593and+593become+593). -
stripPhoneSeparators(
String input) → String - Removes the separators commonly used to write a phone number: spaces, dots, dashes and parentheses.