2.0.5 • Published 5 years ago

isarray v2.0.5

Weekly downloads
48,266,389
License
MIT
Repository
github
Last release
5 years ago

isarray

Array#isArray for older browsers and deprecated Node.js versions.

build status downloads

browser support

Just use Array.isArray directly, unless you need to support those older versions.

Usage

var isArray = require('isarray');

console.log(isArray([])); // => true
console.log(isArray({})); // => false

Installation

With npm do

$ npm install isarray

Then bundle for the browser with browserify.

Sponsors

This module is proudly supported by my Sponsors!

Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my Patreon. Not sure how much of my modules you're using? Try feross/thanks!

deep-equalsocket.io-parserjson-stable-stringifyes-get-iteratorprop-types-exactline-columnarchetype-librarycomponennentteasy-select-rnvuedragdropuploadimagesbrokerapipopsmart-common-authreact-native-bluetooth2killi8n-react-native-fast-imagepipihome@yelloan/redoc-clirn-send-smsspecify-importsbabel-specify-imports@icanpm/api-mastergew-nodejs-api-client@arisageha/react-lazyload@arisageha/react-lazyload-fixrmarkdown@oneplanetcrowd/developers@cashremit/cr-streamline-icons@almeidaa/msreact-native-template-rfbaseinsurer-policyapi@leight-core/leight-antdcloud-archive-s3airscanairscan-example@cloudsense/cs-redoc-clibb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxf@phil8795/pecuniarius-apideneme323112@texttree/demo-bsa-reference-rcl@fundefund/funde_ck@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjames@redocly-trials/redocly-api-reference-cc70@redocly-trials/redocly-api-reference-eba4cliniasearchreact-native-covid-sdkeasycommands-betagql_din_modeni-chatbitgetlitaotao2018test-dep-ctest-dep-dtest-dep-ereact-native-thanh-toast-library@jttechnic/interpreter@thanhnguyen14797/react-native-thanh-toast-library@l1nyanm1ng/react-picture-viewercthpb-plugin-social@iobroker-community-adapters/iobroker.device-watcher@olivervorasai/sliderpanqibaoreact-native-printer-brothersrn-pdf-reader-offlinesendautomessengermessagereact-native-shekhar-bridge-testcogoportutilsukor-remasterdyx-reactlevibestliblevibestlib2levilibtest19levilibtest24levilibtest25levilibtest26levilibtest27levilibtest28levilibtest29uinz-notificationtalent-to-vite-cliwilscanner@oiti/documentoscopy-react-nativejs4cytoscape@respondea/cordova-plugin-v-inappbrowser@mink-opn/build-tokensquoc-testreact-native-slider-kfnodejs-fileshareone-indexunblock-block-save-variablescclibyarntest@saaspe/componentshyperpass-sdkplginexpand-react-bridgeopea-bootstraapluminos-ui-coresklif-ui-kit
2.0.5

5 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

9 years ago

0.0.1

12 years ago

0.0.0

12 years ago