first commit

This commit is contained in:
francesco448
2026-03-14 14:59:41 +01:00
commit 0a448b1250
603 changed files with 65311 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';
}