aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/util/isObservable.js
blob: cc149c6085b186f868c16b2664ec90562cd1ebba (plain) (blame)
1
2
3
4
5
6
import { Observable } from '../Observable';
import { isFunction } from './isFunction';
export function isObservable(obj) {
    return !!obj && (obj instanceof Observable || (isFunction(obj.lift) && isFunction(obj.subscribe)));
}
//# sourceMappingURL=isObservable.js.map
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage