Files
UoL/CM2010 Software Design and Development/Topic 2/8.3.1/node_modules/superagent/lib/is-object.js
2021-06-16 19:39:43 -05:00

16 lines
224 B
JavaScript

'use strict';
/**
* 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;