Skip to main content
Module

x/velo/dev_deps.ts>assert

Performant Cache implementations for Deno. Supports LRU, LFU, ARC and other caching policies.
Go to Latest
function assert
Re-export
import { assert } from "https://deno.land/x/velo@0.1.5/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