Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_matches/src/parsers/index.ts>Parser#concat

Being able to pattern match in typescript
Go to Latest
method Parser.prototype.concat
Re-export
import { Parser } from "https://deno.land/x/ts_matches@v5.2.1/src/parsers/index.ts";

Use this when you want to combine two parsers into one. This will make sure that both parsers will run against the same value.

Parameters

otherParser: IParser<B, C>