mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-21 08:59:07 +00:00
6 lines
207 B
JavaScript
6 lines
207 B
JavaScript
![]() |
"use strict";
|
||
|
function isPromise(value) {
|
||
|
return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
|
||
|
}
|
||
|
exports.isPromise = isPromise;
|
||
|
//# sourceMappingURL=isPromise.js.map
|