is-object.js 379 B

12345678910
  1. var isCallable = require('../internals/is-callable');
  2. var $documentAll = require('../internals/document-all');
  3. var documentAll = $documentAll.all;
  4. module.exports = $documentAll.IS_HTMLDDA ? function (it) {
  5. return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
  6. } : function (it) {
  7. return typeof it == 'object' ? it !== null : isCallable(it);
  8. };