Skip to main content
Module

x/value_schema/dist-deno/appliers/ifUndefined.ts>Rules

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Latest
interface Rules
import { type Rules } from "https://deno.land/x/value_schema@v4.0.0/dist-deno/appliers/ifUndefined.ts";

Properties

optional
ifUndefined: T | null | undefined

value if undefined (defaults: error)