You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
393 B
12 lines
393 B
1 year ago
|
'use strict';
|
||
|
var isCallable = require('../internals/is-callable');
|
||
|
var $documentAll = require('../internals/document-all');
|
||
|
|
||
|
var documentAll = $documentAll.all;
|
||
|
|
||
|
module.exports = $documentAll.IS_HTMLDDA ? function (it) {
|
||
|
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
|
||
|
} : function (it) {
|
||
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
||
|
};
|