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

x/valibot/src/schemas/symbol/index.ts>SymbolSchema

The modular and type safe schema library for validating structural data 🤖
Latest
interface SymbolSchema
implements BaseSchema<symbol, symbol, SymbolIssue>
import { type SymbolSchema } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/schemas/symbol/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.