Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method matches.Parser.prototype.parse
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.4/dependencies.ts";
const { Parser } = matches;

Use this when you want to decide what happens on the succes and failure cases of parsing

Parameters

a: A
onParse: OnParse<A, B, C, D>