14 lines
207 B
JavaScript
14 lines
207 B
JavaScript
/**
|
|
* Check if `obj` is an object.
|
|
*
|
|
* @param {Object} obj
|
|
* @return {Boolean}
|
|
* @api private
|
|
*/
|
|
|
|
function isObject(obj) {
|
|
return null != obj && 'object' == typeof obj;
|
|
}
|
|
|
|
module.exports = isObject;
|