GT2/GT2-iOS/node_modules/superagent/lib/is-object.js

16 lines
224 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
'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;