Skip to main content
Module

x/ts_matches/src/parsers/number-parser.ts>NumberParser

Being able to pattern match in typescript
Go to Latest
class NumberParser
implements IParser<unknown, number>
import { NumberParser } from "https://deno.land/x/ts_matches@v5.2.0/src/parsers/number-parser.ts";

Constructors

new
NumberParser(description?)

Methods

parse<C, D>(a: unknown, onParse: OnParse<unknown, number, C, D>): C | D