Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>FunctionSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface FunctionSchema
implements BaseSchema<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown, FunctionIssue>
import { type FunctionSchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Function schema type.

Type Parameters

TMessage extends ErrorMessage<FunctionIssue> | undefined

Properties

readonly
type: "function"

The schema type.

readonly
reference: function_

The schema reference.

readonly
expects: "Function"

The expected property.

readonly
message: TMessage

The error message.