first
This commit is contained in:
12
node_modules/core-js/internals/is-callable.js
generated
vendored
Normal file
12
node_modules/core-js/internals/is-callable.js
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
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';
|
||||
};
|
Reference in New Issue
Block a user