Initial Save
This commit is contained in:
12
node_modules/core-js-pure/internals/is-callable.js
generated
vendored
Normal file
12
node_modules/core-js-pure/internals/is-callable.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
||||
var documentAll = typeof document == 'object' && document.all;
|
||||
|
||||
// `IsCallable` abstract operation
|
||||
// https://tc39.es/ecma262/#sec-iscallable
|
||||
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
||||
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
||||
return typeof argument == 'function' || argument === documentAll;
|
||||
} : function (argument) {
|
||||
return typeof argument == 'function';
|
||||
};
|
||||
Reference in New Issue
Block a user