test/node_modules/lodash/internal/isObjectLike.js

13 lines
289 B
JavaScript
Raw Normal View History

2018-12-13 14:35:46 +01:00
/**
* 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;