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

x/is_what/dist/isType.d.ts

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
Latest
import * as isWhat from "https://deno.land/x/is_what@v5.0.2/dist/isType.d.ts";

Functions

Does a generic check to check that the given payload is of a given type. In cases like Number, it will return true for NaN as NaN is a Number (thanks javascript!); It will, however, differentiate between object and null