source: trip-planner-front/node_modules/rxjs/src/internal/util/isInteropObservable.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 354 bytes
Line 
1import { InteropObservable } from '../types';
2import { observable as Symbol_observable } from '../symbol/observable';
3
4/** Identifies an input as being Observable (but not necessary an Rx Observable) */
5export function isInteropObservable(input: any): input is InteropObservable<any> {
6 return input && typeof input[Symbol_observable] === 'function';
7}
Note: See TracBrowser for help on using the repository browser.