4 lines
171 B
JavaScript
4 lines
171 B
JavaScript
|
export function isPromise(value) {
|
||
|
return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
|
||
|
}
|
||
|
//# sourceMappingURL=isPromise.js.map
|