This commit is contained in:
Mosiur
2026-04-24 21:03:01 +06:00
parent ad313f3b21
commit c295362495
2709 changed files with 877549 additions and 162 deletions

View File

@@ -0,0 +1,9 @@
'use strict';
module.exports = function isAsyncFunction(v) {
return (
typeof v === 'function' &&
v.constructor &&
v.constructor.name === 'AsyncFunction'
);
};