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 🤖
Go to Latest
interface SymbolSchema
implements BaseSchema<symbol, symbol, SymbolIssue>
import { type SymbolSchema } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/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.