Sha256: efa030b61cfc0a14e08c6934259e9860430e8120c3400986ace04f2e845ae51c
Contents?: true
Size: 372 Bytes
Versions: 153
Compression:
Stored size: 372 Bytes
Contents
var getLength = require('./getLength'), isLength = require('./isLength'); /** * Checks if `value` is array-like. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is array-like, else `false`. */ function isArrayLike(value) { return value != null && isLength(getLength(value)); } module.exports = isArrayLike;
Version data entries
153 entries across 80 versions & 8 rubygems