Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valideno/mod.ts>Validator

Validate your values and schemes with this extendable validator
Latest
interface Validator
import { type Validator } from "https://deno.land/x/valideno@v1.0.0/mod.ts";

Properties

type: string
optional
extends: Validator[]
optional
convert: (value: any) => Promise<any> | any
check: (value: any) => Promise<Args | undefined> | Args | undefined
message: (value: any, args?: Args) => Promise<string | undefined> | string | undefined