initialize

This commit is contained in:
2025-05-14 19:27:36 +02:00
commit 28ced1c764
870 changed files with 92291 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';
}