Skip to main content
Module

std/testing/types.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.177.1/testing/types.ts";

Functions

Asserts at compile time that the provided type argument's type resolves to the expected boolean literal type.

Type Aliases

Asserts at compile time that the provided type argument's type resolves to the expected boolean literal type.

Asserts at compile time that the provided type argument's type resolves to false.

Asserts at compile time that the provided type argument's type resolves to true.

Checks if type T has the specified type U.

Checks if type T is the any type.

Checks if type T exactly matches type U.

Checks if type T is the never type.

Checks if type T is possibly null or undefined.

Checks if type T is the unknown type.

Checks if type T does not have the specified type U.