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

x/clippy/deps.ts>assert

cross-platform Deno library for writing and reading clipboard.
Go to Latest
function assert
Re-export
import { assert } from "https://deno.land/x/clippy@v0.2.0/deps.ts";

Make an assertion, error will be thrown if expr does not have truthy value.

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr