Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_matches/src/matches.ts>every

Being able to pattern match in typescript
Go to Latest
function every
Re-export
import { every } from "https://deno.land/x/ts_matches@v5.4.1/src/matches.ts";

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>