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
+3
View File
@@ -0,0 +1,3 @@
export default function isPromise(obj) {
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
}