Code coverage report for cjs/util/isPromise.js

Statements: 100% (3 / 3)      Branches: 100% (3 / 3)      Functions: 100% (1 / 1)      Lines: 100% (3 / 3)      Ignored: none     

All files » cjs/util/ » isPromise.js
1 2 3 4 51 140   1  
function isPromise(value) {
    return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
exports.isPromise = isPromise;
//# sourceMappingURL=isPromise.js.map