2 * Checks if `value` is the
3 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
10 * @param {*} value The value to check.
11 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
17 * _.isObject([1, 2, 3]);
26 function isObject(value) {
27 var type = typeof value;
28 return value != null && (type == 'object' || type == 'function');
31 module.exports = isObject;