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.
Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/fsrouter@3.1.0/deps.ts";
const { assertStringIncludes } = asserts;

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

Parameters

actual: string
expected: string
optional
msg: string