PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
inquirer
/
node_modules
/
lodash
/
lang
var getNative = require('../internal/getNative'), isLength = require('../internal/isLength'), isObjectLike = require('../internal/isObjectLike'); /** `Object#toString` result references. */ var arrayTag = '[object Array]'; /** Used for native method references. */ var objectProto = Object.prototype; /** * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) * of values. */ var objToString = objectProto.toString; /* Native method references for those with the same name as other `lodash` methods. */ var nativeIsArray = getNative(Array, 'isArray'); /** * Checks if `value` is classified as an `Array` object. * * @static * @memberOf _ * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. * @example * * _.isArray([1, 2, 3]); * // => true * * _.isArray(function() { return arguments; }()); * // => false */ var isArray = nativeIsArray || function(value) { return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag; }; module.exports = isArray;
[-] isBoolean.js
[edit]
[-] isRegExp.js
[edit]
[-] toArray.js
[edit]
[-] gt.js
[edit]
[+]
..
[-] isNative.js
[edit]
[-] isFinite.js
[edit]
[-] isObject.js
[edit]
[-] isUndefined.js
[edit]
[-] isDate.js
[edit]
[-] isError.js
[edit]
[-] isPlainObject.js
[edit]
[-] isTypedArray.js
[edit]
[-] toPlainObject.js
[edit]
[-] isArguments.js
[edit]
[-] eq.js
[edit]
[-] isElement.js
[edit]
[-] gte.js
[edit]
[-] isString.js
[edit]
[-] isNull.js
[edit]
[-] cloneDeep.js
[edit]
[-] lt.js
[edit]
[-] lte.js
[edit]
[-] isNumber.js
[edit]
[-] isNaN.js
[edit]
[-] isArray.js
[edit]
[-] isMatch.js
[edit]
[-] isEmpty.js
[edit]
[-] isFunction.js
[edit]
[-] clone.js
[edit]
[-] isEqual.js
[edit]