Very Popular
Go to Latest
function assertExists
import { assertExists } from "https://dotland.deno.dev/x/dejs@0.9.3/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