Skip to content

Any

Virtual class used in type definitions to detect an `any` type.

Usage

type IsAny<T> = [T] extends [Any] ? "is any" : "is not any";

Installation

Terminal window
npx atmx add type any