Skip to main content
Module

x/pagic/deps.ts>asserts.assertStringIncludes

A static site generator powered by Deno + React
Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/pagic@v1.6.3/deps.ts";
const { assertStringIncludes } = asserts;

Make an assertion that actual includes expected. If not then throw.

Parameters

actual: string
expected: string
optional
msg: string