Initial commit
[yaffs-website] / node_modules / grunt-contrib-watch / node_modules / lodash / internal / isArrayLike.js
1 var getLength = require('./getLength'),
2     isLength = require('./isLength');
3
4 /**
5  * Checks if `value` is array-like.
6  *
7  * @private
8  * @param {*} value The value to check.
9  * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
10  */
11 function isArrayLike(value) {
12   return value != null && isLength(getLength(value));
13 }
14
15 module.exports = isArrayLike;