Rinser/node_modules/lodash/internal/isObjectLike.js

13 lines
289 B
JavaScript
Raw Normal View History

2015-07-20 13:42:07 +00: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;