Skip to main content
Module

x/ok_computer/ok-computer.ts>StructValidator

λ "Functions all the way down" data validation for JavaScript and TypeScript.
Latest
type alias StructValidator
import { type StructValidator } from "https://deno.land/x/ok_computer@v2.0.2/ok-computer.ts";

Type Parameters

optional
ValidType = unknown
optional
Err extends IStructure = any
definition: ((value: unknown, ...parents: any[]) => Err) & ValidatorTypeMeta<ValidType>