Skip to main content
Go to Latest
function matches.every
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.1.1.4/mod.ts";
const { every } = matches;

Intersection is a good tool to make sure that the validated value is in the intersection of all the validators passed in. Basically an and operator for validators

Type Parameters

RestParsers extends Parser<unknown, unknown>[]

Returns

EveryParser<RestParsers>