Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/_util/assert_type.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.159.0/_util/assert_type.ts";

Functions

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

Type Aliases

Checks if type T is the any type.

Checks if type T exactly matches type U.