Skip to main content

Function: isValidPhone()

isValidPhone(phone): boolean
Defined in: sanitize.ts:640 Validates if a string is a valid phone number using Effect Schema.

Parameters

phone

string The string to validate.

Returns

boolean true if valid phone number, false otherwise.