UNPKG

@ungap/is-array

Version:

An is-array polyfill for legacy browsers.

14 lines (8 loc) 896 B
# Array.isArray [![Build Status](https://travis-ci.com/ungap/is-array.svg?branch=master)](https://travis-ci.com/ungap/is-array) [![Coverage Status](https://coveralls.io/repos/github/ungap/is-array/badge.svg?branch=master)](https://coveralls.io/github/ungap/is-array?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/is-array.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg) An [Array.isArray](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray) polyfill for legacy browsers. * CDN via https://unpkg.com/@ungap/is-array * ESM via `import isArray from '@ungap/is-array'` * CJS via `const isArray = require('@ungap/is-array')` Compatible down to IE9, works well with ES5 shim upfront in IE8 (and maybe lower too). [Live test](https://ungap.github.io/is-array/test/)