node/rxjs/dist/esm/internal/operators/switchMapTo.js
raw| 1 | import { switchMap } from './switchMap'; |
| 2 | import { isFunction } from '../util/isFunction'; |
| 3 | export function switchMapTo(innerObservable, resultSelector) { |
| 4 | return isFunction(resultSelector) ? switchMap(() => innerObservable, resultSelector) : switchMap(() => innerObservable); |
| 5 | } |
| 6 | //# sourceMappingURL=switchMapTo.js.map |