Lekcja 08 projekt auta cz1
This commit is contained in:
1 parent
8fc98ebf9d
commit
d60f8a91a7
1543 files changed
+255781
No files matched your search
+3
@@ -0,0 +1,3 @@
|
||||
export default function isPromise(obj) {
|
||||
return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
|
||||
}
|
||||
Reference in new issue
Block a user