Skip to main content
Module

x/valibot/src/schemas/function/function.ts>FunctionSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface FunctionSchema
implements BaseSchema<(...args: unknown[]) => unknown, (...args: unknown[]) => unknown, FunctionIssue>
import { type FunctionSchema } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/function/function.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.