
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@yag/is-array
Advanced tools
Copyright (c) 2017 - 2018, Yassel Avila Gil.
Just a fallback for Array.isArray()
New BSD License. See LICENSE.txt.
This library includes type definitions for TypeScript.
@yag/is-array is available for Node.js on npm. To install it, type:
npm install -P @yag/is-array
If you need support for older browsers, check usage.
import isArray from '@yag/is-array';
const t1: any = [1, 2, 3];
const t2: any = new Date();
console.log(isArray(t1)); // true
console.log(isArray(t2)); // false
const { isArray } = require('@yag/is-array');
const t1 = [1, 2, 3];
const t2 = new Date();
console.log(isArray(t1)); // true
console.log(isArray(t2)); // false
var isArray = require('@yag/is-array').isArray;
var t1 = [1, 2, 3];
var t2 = new Date();
console.log(isArray(t1)); // true
console.log(isArray(t2)); // false
<!-- ~639 bytes gzipped / ~563 bytes if you use Brotli ;-) -->
<script src="/node_modules/@yag/is-array/bundles/isarray.umd.bundle.js"></script>
<script>
var t1 = [1, 2, 3];
var t2 = new Date();
console.log(isArray(t1)); // true
console.log(isArray(t2)); // false
</script>
FAQs
Just a fallback for Array.isArray()
The npm package @yag/is-array receives a total of 9 weekly downloads. As such, @yag/is-array popularity was classified as not popular.
We found that @yag/is-array demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.