Module

x/discordeno/testss/deps.ts>assertMatch

Discord API library for Deno
Go to Latest
function assertMatch
import { assertMatch } from "https://dotland.deno.dev/x/discordeno@13.0.0-rc45/testss/deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string