summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash/internal/isObjectLike.js
blob: 8ca0585b7b1300a360574f3a811bd258863f6415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * Checks if `value` is object-like.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
 */
function isObjectLike(value) {
  return !!value && typeof value == 'object';
}

module.exports = isObjectLike;