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

x/ts_matches/src/parsers/object-parser.ts>ObjectParser

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

Constructors

new
ObjectParser(description?)

Methods

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