What is is-arrayish?
The is-arrayish npm package is used to determine if a value is array-like, meaning it can be iterated over like an array. This can include actual arrays, array-like objects (such as arguments or NodeList objects), or objects with a length property that are not functions.
What are is-arrayish's main functionalities?
Check if a value is array-like
This feature allows you to check if a given value is array-like. It returns true for actual arrays, array-like objects, and objects with a length property that are not functions. It returns false for other types of values, such as strings or functions.
var isArrayish = require('is-arrayish');
console.log(isArrayish([])); // true
console.log(isArrayish({ length: 1, 0: 'a' })); // true
console.log(isArrayish('string')); // false
console.log(isArrayish(function(){})); // false
Other packages similar to is-arrayish
isarray
The isarray package provides a simple utility for determining whether a given value is an array. It is similar to is-arrayish but is more strict, as it only returns true for actual Array instances.
is-arguments
The is-arguments package is designed to check if a value is an arguments object. While is-arrayish can also identify arguments objects as array-like, is-arguments is specifically tailored for this purpose and does not consider other array-like objects.
node-is-arrayish

Determines if an object can be used like an Array
Example
var isArrayish = require('is-arrayish');
isArrayish([]);
isArrayish({__proto__: []});
isArrayish({});
isArrayish({length:10});
License
Licensed under the MIT License.
You can find a copy of it in LICENSE.