Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_matches/src/parsers/function-parser.ts>FunctionParser

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

Constructors

new
FunctionParser(description?)

Methods

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