diff options
Diffstat (limited to 'school/node_modules/lodash/isObjectLike.js')
-rw-r--r-- | school/node_modules/lodash/isObjectLike.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/school/node_modules/lodash/isObjectLike.js b/school/node_modules/lodash/isObjectLike.js deleted file mode 100644 index 301716b..0000000 --- a/school/node_modules/lodash/isObjectLike.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ -function isObjectLike(value) { - return value != null && typeof value == 'object'; -} - -module.exports = isObjectLike; |