Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class matches.ArrayOfParser
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.4.0.0-alpha2/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)