Skip to main content
Module

x/fs_cli/dev_deps.ts>assert

A deno tool to handle directories and files through script: delete directories or files, copy simple or recursive, etc. Inspired by rimraf and mkdirp
Latest
function assert
import { assert } from "https://deno.land/x/fs_cli@v1.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