UNPKG

lodash-compat

Version:

The compatibility build of lodash modular utilities.

13 lines (11 loc) 289 B
/** * 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;