Skip to main content
Module

x/textdb/deps.ts

Use Textdb from Deno
Latest
import * as textdb from "https://deno.land/x/textdb@0.1.2/deps.ts";

Functions

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

Make an assertion that actual includes the expected values. If not then an error will be thrown.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual object is a subset of expected object, deeply. If not, then throw.

Executes a function which returns a promise, expecting it to throw or reject. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted.

Validate that the passed UUID is an RFC4122 v4 UUID.