feat : first commit

This commit is contained in:
unknown
2026-06-03 20:05:50 +07:00
commit 9cd232bf2d
6701 changed files with 440316 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';
}