Skip to main content
Module

x/silicon/deps.ts>assertMatch

Deno module to generate images from source code using Aloxaf/silicon.
Go to Latest
function assertMatch
import { assertMatch } from "https://deno.land/x/silicon@0.0.6/deps.ts";

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

Parameters

actual: string
expected: RegExp
optional
msg: string