Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>asserts.assertNotMatch

The best unofficial library of utilities for Deno applications
Go to Latest
function asserts.assertNotMatch
import { asserts } from "https://deno.land/x/dtils@2.5.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