Skip to main content
Module

x/unitest/deps.ts

🃏 Deno-first universal unit testing framework
Latest
import * as unitest from "https://deno.land/x/unitest@v1.0.0-beta.82/deps.ts";

Functions

Set background color to yellow.

Set text color to black.

Set text color to blue.

Make the text bold.

Set text color to bright black.

Set text color to gray.

Set text color to green.

Whatever argument is type of boolean or not

Whatever argument is Date or not

Whatever argument is date format string or not

Whatever argument is empty or not

Whatever argument is empty object or not

Whatever argument is Error or not

Whatever argument is even or not

Whatever argument is false or not

Whatever argument is type of function or not

Whatever argument is Hex color of 3 or 6 digits format or not

Whatever argument length is 0 or not.

Whatever argument is negative number or not

Whatever argument is type of null or undefined not

Whatever argument is type of null or not

Whatever argument is type of number or not

Whatever argument is type of object or not

Whatever argument is odd or not

Whatever argument is positive number or not

Whatever argument is Promise or not

Whatever argument is type of string or not.

Whatever argument is type of symbol or not

Whatever argument is true or not

Whatever argument is type of undefined or not

Whatever argument is valid Date or not

Set text color to magenta.

Set text color to red.

Returns a formatted string:

Set text color to yellow.