fourth commit

This commit is contained in:
Gitea
2026-04-16 15:14:47 +05:30
parent de657b42c1
commit aa335f76bf
588 changed files with 62329 additions and 4 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';
}