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

x/danet/validation.ts>createValidator

A Savory web framework for Deno heavily inspired by Nest
Go to Latest
variable createValidator
Re-export
import { createValidator } from "https://deno.land/x/danet@1.5.0/validation.ts";

type

<T extends Array<any>>(validatorFunction: (...args: T) => ValidateFunction, errorMessage: string) => unknown