Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>asserts.assertStringIncludes

The best unofficial library of utilities for Deno applications
Go to Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/dtils@2.5.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