Files
biomedjs/node_modules/lodash/internal/isObjectLike.js

13 lines
289 B
JavaScript
Raw Permalink Normal View History

2015-04-20 05:31:12 -04: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;