Skip to main content
Module

x/web_bson/test_deps.ts

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
import * as webBson from "https://deno.land/x/web_bson@v0.2.4/test_deps.ts";

Variables

Functions

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

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

Executes a function, expecting it to throw. If it does not, then it throws.

Deep equality comparison used in assertions

Check if the passed UUID is the nil UUID.

Generates a RFC4122 v1 UUID (time-based).

Validates the UUID v1.

f
UUID.v4.generate
deprecated

Validate that the passed UUID is an RFC4122 v4 UUID.

Generate a RFC4122 v5 UUID (SHA-1 namespace).

Validate that the passed UUID is an RFC4122 v5 UUID.

Test a string to see if it is a valid UUID.

Detect RFC version of a UUID.

Interfaces

The options used for generating a v1 UUID.