Home Manual Reference Source Test Repository

es6/util/isPromise.js

export function isPromise(value) {
    return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
//# sourceMappingURL=isPromise.js.map