Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_slack_sdk/dev_deps.ts>assertMatch

SDK for building Run on Slack apps using Deno
Extremely Popular
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/deno_slack_sdk@2.7.0/dev_deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string