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

x/ts_matches/src/parsers/array-of-parser.ts

Being able to pattern match in typescript
Go to Latest
import * as tsMatches from "https://deno.land/x/ts_matches@v5.2.0/src/parsers/array-of-parser.ts";

Classes

Given an object, we want to make sure the key exists and that the value on the key matches the parser Note: This will mutate the value sent through

Functions

We would like to validate that all of the array is of the same type