import { StringValidator } from "https://deno.land/x/oridune_validator@v0.2.37/mod.ts";
Constructors
new
StringValidator(options?: IStringValidatorOptions)Properties
protected
Options: IStringValidatorOptionsMethods
protected
_toJSON(_options?: IJSONSchemaOptions)protected
_toSample(_options?: ISampleDataOptions)in<C extends string>(choices: C[]): StringValidator<Type, Input, C>
isNaN()
isURL<URLInstance extends boolean = false>(returnURLInstance?: URLInstance)
length(options: { min?: number; max?: number; } | number)
matches(options: { regex: RegExp | RegExp[]; } | RegExp | RegExp[])
max(length: number)
min(length: number)