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

x/is_what/dist/index.d.ts>getType

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
Go to Latest
function getType
import { getType } from "https://deno.land/x/is_what@v4.1.15/dist/index.d.ts";

Returns the object type of the given payload

Parameters

payload: any

Returns

string