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

We want to test value with a test eg isEven

Parameters

isValid: (value: B) => boolean
otherName: string

Returns

Parser<A, B>