backend v4 half
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// https://github.com/TylorS/typed-is-promise/blob/abf1514e1b6961adfc75765476b0debb96b2c3ae/src/index.ts
|
||||
export function isPromise(p) {
|
||||
return p !== null && typeof p === 'object' && typeof p.then === 'function';
|
||||
}
|
||||
//# sourceMappingURL=is-promise.util.js.map
|
||||
Reference in New Issue
Block a user