Initial commit
This commit is contained in:
3
node_modules/is-promise/index.mjs
generated
vendored
Normal file
3
node_modules/is-promise/index.mjs
generated
vendored
Normal file
@ -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