Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method matches.Parser.prototype.orParser
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.4/mod.ts";
const { Parser } = matches;

Use this to combine parsers into one. This will make sure that one or the other parsers will run against the value.

Parameters

otherParser: IParser<A, C>