All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.is-arrayish.index.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
'use strict';

module.exports = function isArrayish(obj) {
	if (!obj) {
		return false;
	}

	return obj instanceof Array || Array.isArray(obj) ||
		(obj.length >= 0 && obj.splice instanceof Function);
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy