Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

isInteropObservable.ts 354B

1234567
  1. import { InteropObservable } from '../types';
  2. import { observable as Symbol_observable } from '../symbol/observable';
  3. /** Identifies an input as being Observable (but not necessary an Rx Observable) */
  4. export function isInteropObservable(input: any): input is InteropObservable<any> {
  5. return input && typeof input[Symbol_observable] === 'function';
  6. }