uni-ticket-system/node_modules/core-js/internals/is-callable.js
2023-12-05 10:11:10 +08: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';
};