Skip to main content
Module

x/leaves/mod.ts>validator.ValidationTypes

A Web framework For Deno with Decorator and middleware
Latest
class validator.ValidationTypes
import { validator } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
const { ValidationTypes } = validator;

Validation types.

Static Properties

CONDITIONAL_VALIDATION: string
CUSTOM_VALIDATION: string
IS_DEFINED: string
NESTED_VALIDATION: string
PROMISE_VALIDATION: string
WHITELIST: string

Static Methods

isValid(type: string): boolean

Checks if validation type is valid.