Skip to main content
Go to Latest
method matches.Validator.prototype.parse
Re-export
import { matches } from "https://deno.land/x/embassyd_sdk@v0.3.1.1.4/mod.ts";
const { Validator } = 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>