Skip to main content
Latest
function asserts.assertNotMatch
import { asserts } from "https://deno.land/x/ponder@v0.1.0/deps.ts";
const { assertNotMatch } = asserts;

Make an assertion that actual not match RegExp expected. If match then throw.

Parameters

actual: string
expected: RegExp
optional
msg: string