Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class matches.ArrayOfParser
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.4.3.0-alpha1/lib/esm/mod.js";
const { ArrayOfParser } = matches;

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

Constructors

new
ArrayOfParser(parser, description?)

Methods

parse(a, onParse)