This commit is contained in:
Stephen Franceschelli 2019-07-30 13:41:05 -04:00
commit c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions

14
node_modules/is-generator-fn/index.js generated vendored Normal file
View file

@ -0,0 +1,14 @@
'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;