This commit is contained in:
floriano committed 2026-09-24 15:15:12 +02:00
1 parent e42104c4fb
commit e80734527f
611 files changed
+64959

No files matched your search

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