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

x/value_schema/dist-deno/exporter.ts>array

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

schema for array or null or undefined

Returns

ArraySchema<T, null | undefined>

schema for array or undefined

Returns

ArraySchema<T, undefined>