initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
9
github/codeql-action-v2/node_modules/es-abstract/helpers/isAbstractClosure.js
generated
vendored
Normal file
9
github/codeql-action-v2/node_modules/es-abstract/helpers/isAbstractClosure.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
var functionName = require('function.prototype.name');
|
||||
|
||||
var anon = functionName(function () {});
|
||||
|
||||
module.exports = function isAbstractClosure(x) {
|
||||
return typeof x === 'function' && (!x.prototype || functionName(x) === anon);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue