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

x/ts_matches/src/parsers/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/parser.ts";

Classes

A Parser is usually a function that takes a value and returns a Parsed value. For this class we have that as our main reason but we want to be able to have other methods including testing and showing text representations.