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

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

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

schema for array or null or undefined

Returns

ArraySchema<T, null | undefined>

schema for array or undefined

Returns

ArraySchema<T, undefined>