Skip to main content
Module

x/oridune_validator/mod.ts>IArrayValidatorOptions

A powerful typescript compatible/zod alternative schema validator.
Latest
interface IArrayValidatorOptions
import { type IArrayValidatorOptions } from "https://deno.land/x/oridune_validator@v0.2.49/mod.ts";

Properties

optional
cast: boolean
optional
splitter: string | RegExp

Requires cast to be true

optional
ignoreNanKeys: boolean

Requires cast to be true

optional
pushNanKeys: boolean

Requires cast and ignoreNanKeys to be true

optional
noCastSingularToArray: boolean

Requires cast to be true

optional
messages: Partial<Record<"typeError" | "smallerLength" | "greaterLength", TErrorMessage>>