Initial commit

This commit is contained in:
2026-05-24 22:24:39 +07:00
commit 8c15ca0c5d
962 changed files with 176218 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
module.exports = isPromise;
module.exports.default = isPromise;
function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}