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

x/chalkpot_random_colors/dev_deps.ts>assert

Random colors are tools for generating attractive color, similar colors, color palettes or any random colors.
Latest
function assert
import { assert } from "https://deno.land/x/chalkpot_random_colors@1.0.0/dev_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