Module

x/hono/validator/index.ts>ValidationFunction

Lightweight, Ultrafast, Web Standards
Extremely Popular
Go to Latest
type alias ValidationFunction
import { type ValidationFunction } from "https://dotland.deno.dev/x/hono@v3.8.0-rc.2/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>