Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_class_validator/src/deps.ts>parsePhoneNumberWithError

Decorator-based property validation for classes.
Latest
function parsePhoneNumberWithError
import { parsePhoneNumberWithError } from "https://deno.land/x/deno_class_validator@v1.0.0/src/deps.ts";

Parameters

text: string
optional
defaultCountry: CountryCode