Skip to main content
Module

x/hono/validator/index.ts>ValidationFunction

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
type alias ValidationFunction
import { type ValidationFunction } from "https://deno.land/x/hono@v4.0.1/validator/index.ts";

Type Parameters

InputType
OutputType
optional
E extends Env = { }
optional
P extends string = string
definition: (value: InputType, c: Context<E, P>) =>
| Promise<OutputType>
| Promise<Response>