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

x/valibot/src/actions/notValue/index.ts>NotValueAction

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface NotValueAction
import { type NotValueAction } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/actions/notValue/index.ts";

Not value action type.

Type Parameters

TInput extends ValueInput
TRequirement extends TInput
TMessage extends ErrorMessage<NotValueIssue<TInput, TRequirement>> | undefined

Properties

readonly
type: "not_value"

The action type.

readonly
reference: notValue

The action reference.

readonly
expects: `!${string}`

The expected property.

readonly
requirement: TRequirement

The not required value.

readonly
message: TMessage

The error message.