Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_class_validator/src/deps.ts>PhoneNumberMatcher

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

Constructors

new
PhoneNumberMatcher(text: string, options?: { defaultCountry?: CountryCode; v2: true; })

Methods

hasNext(): boolean
next(): NumberFound | undefined