Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/deps.ts>asserts.assertStringIncludes

A file system based router for Deno.
Go to Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/fsrouter@2.11.1/deps.ts";
const { assertStringIncludes } = asserts;

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

Parameters

actual: string
expected: string
optional
msg: string