Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/index.ts>SymbolSchema

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface SymbolSchema
implements BaseSchema<symbol, symbol, SymbolIssue>
import { type SymbolSchema } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/index.ts";

Symbol schema type.

Type Parameters

TMessage extends ErrorMessage<SymbolIssue> | undefined

Properties

readonly
type: "symbol"

The schema type.

readonly
reference: symbol

The schema reference.

readonly
expects: "symbol"

The expected property.

readonly
message: TMessage

The error message.