Spaces:
Runtime error
Runtime error
| ; | |
| module.exports = function isAsyncFunction(v) { | |
| return ( | |
| typeof v === 'function' && | |
| v.constructor && | |
| v.constructor.name === 'AsyncFunction' | |
| ); | |
| }; | |
| ; | |
| module.exports = function isAsyncFunction(v) { | |
| return ( | |
| typeof v === 'function' && | |
| v.constructor && | |
| v.constructor.name === 'AsyncFunction' | |
| ); | |
| }; | |