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

x/continuation/t/asserts.ts>assertStringIncludes

Delimited Continuations for JavasScript
Latest
function assertStringIncludes
import { assertStringIncludes } from "https://deno.land/x/continuation@0.1.6/t/asserts.ts";

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

Parameters

actual: string
expected: string
optional
msg: string