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

x/valibot/mod.ts>QuestionMarkSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
type alias QuestionMarkSchema
Re-export
import { type QuestionMarkSchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Question mark schema type.

TODO: Document that for simplicity and bundle size, we currently do not distinguish between undefined and missing keys when using optional and nullish.

definition:
| NullishSchema<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown>
| OptionalSchema<BaseSchema<unknown, unknown, BaseIssue<unknown>>, unknown>