Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/abc/vendor/https/deno.land/std/testing/asserts.ts>assertExists

A better Deno framework to create web application.
Go to Latest
function assertExists
import { assertExists } from "https://deno.land/x/abc@v1.3.1/vendor/https/deno.land/std/testing/asserts.ts";

Make an assertion that actual is not null or undefined. If not then thrown.

Parameters

actual: unknown
optional
msg: string