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

x/deno_class_validator/src/decorator/string/Matches.ts

Decorator-based property validation for classes.
Latest
import * as denoClassValidator from "https://deno.land/x/deno_class_validator@v1.0.0/src/decorator/string/Matches.ts";

Functions

Checks if string matches the pattern. Either matches('foo', /foo/i). If given value is not a string, then it returns false.

Checks if string matches the pattern. Either matches('foo', /foo/i) If given value is not a string, then it returns false.