isarray

WebJar for isarray

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

isarray
Last Version

Last Version

2.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

isarray
WebJar for isarray
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/juliangruber/isarray

Download isarray

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/isarray/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>isarray</artifactId>
    <version>2.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/isarray/
implementation 'org.webjars.npm:isarray:2.0.5'
// https://jarcasting.com/artifacts/org.webjars.npm/isarray/
implementation ("org.webjars.npm:isarray:2.0.5")
'org.webjars.npm:isarray:jar:2.0.5'
<dependency org="org.webjars.npm" name="isarray" rev="2.0.5">
  <artifact name="isarray" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='isarray', version='2.0.5')
)
libraryDependencies += "org.webjars.npm" % "isarray" % "2.0.5"
[org.webjars.npm/isarray "2.0.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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!

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

Versions

Version
2.0.5
2.0.4
2.0.2
2.0.1
1.0.0
0.0.1