Skip to main content
Go to Latest
method matches.Parser.prototype.name
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.1.1.4/mod.ts";
const { Parser } = matches;

Use this when we want to give the parser a name, and we want to be able to use the name in the error messages.

Parameters

nameString: string

Returns

Parser<A, B>