Skip to content

isArray

`Array.isArray` but with better type inference.

Usage

isArray([]); // => true
isArray("hello"); // => false

Installation

Terminal window
npx atmx add helper is-array