import { EnumValidator } from "https://deno.land/x/oridune_validator@v0.2.49/mod.ts";
Constructors
new
EnumValidator(choices: Input[] | ((ctx: IValidatorContext) => Input[] | Promise<Input[]>), options?: IEnumValidatorOptions)Properties
protected
Choices: Input[] | ((ctx: IValidatorContext) => Input[] | Promise<Input[]>)protected
Options: IEnumValidatorOptionsMethods
protected
_toJSON(_options?: IJSONSchemaOptions)protected
_toSample(_options?: ISampleDataOptions)