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

x/ts_matches/src/parsers/array-parser.ts>ArrayParser

Being able to pattern match in typescript
Latest
class ArrayParser
implements IParser<unknown, Array<unknown>>
import { ArrayParser } from "https://deno.land/x/ts_matches@v5.4.0/src/parsers/array-parser.ts";

Constructors

new
ArrayParser(description?)

Methods

parse<C, D>(a: unknown, onParse: OnParse<unknown, Array<unknown>, C, D>): C | D