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#name

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

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