Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@unction/isarray

unctionjs20SEE LICENSE IN LICENSE5.14.0TypeScript support: included

Takes a value and returns a boolean if value is an array

unction, functional

readme

@unction/isArray

Tests Stability Dependencies

A => boolean

Takes any value and then any value and returns an array containing those values.

isArray([]) // => true
isArray({}) // => false
isArray("") // => false