Skip to main content
Module

x/cav/mod.ts>ParserFunction

A server framework for Deno
Go to Latest
interface ParserFunction
Re-export
import { type ParserFunction } from "https://deno.land/x/cav@0.0.21/mod.ts";

A function that parses data. If data is not shaped as expected, an error should be thrown.

Type Parameters

optional
I = unknown
optional
O = unknown

Call Signatures

(input: I): Promise<O> | O