Neuste Version

This commit is contained in:
MarcWieland
2026-06-19 16:28:08 +02:00
parent c25260fb5e
commit 13789fab1d
623 changed files with 65768 additions and 63 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';
}