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

std/_util/assert_type.ts>IsAny

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

Checks if type T is the any type.

definition: 0 extends (1 & T) ? true : false