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

x/is_what/dist/isArray.d.ts>isArray

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

Returns whether the payload is an array

Parameters

payload: unknown

Returns

payload is unknown[]