UNPKG

superagent

Version:

elegant & feature rich browser / node HTTP with a fluent API

16 lines (12 loc) 224 B
'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;