Files
old-kitabcitab-frontend/kitabcitab/node_modules/core-js-pure/internals/is-callable.js
2022-12-27 12:05:56 +01:00

12 lines
375 B
JavaScript

var $documentAll = require('../internals/document-all');
var documentAll = $documentAll.all;
// `IsCallable` abstract operation
// https://tc39.es/ecma262/#sec-iscallable
module.exports = $documentAll.IS_HTMLDDA ? function (argument) {
return typeof argument == 'function' || argument === documentAll;
} : function (argument) {
return typeof argument == 'function';
};