This commit is contained in:
Stephen Franceschelli
2019-07-15 11:41:38 -04:00
parent f26956e368
commit 9098200950
7043 changed files with 0 additions and 1866383 deletions

View File

@@ -1,14 +0,0 @@
'use strict';
const {toString} = Object.prototype;
module.exports = value => {
if (typeof value !== 'function') {
return false;
}
return (value.constructor && value.constructor.name === 'GeneratorFunction') ||
toString.call(value) === '[object GeneratorFunction]';
};
// TODO: Remove this for the next major release
module.exports.default = module.exports;