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
|
Rev | Line | |
---|
[6a3a178] | 1 | import { InteropObservable } from '../types';
|
---|
| 2 | import { observable as Symbol_observable } from '../symbol/observable';
|
---|
| 3 |
|
---|
| 4 | /** Identifies an input as being Observable (but not necessary an Rx Observable) */
|
---|
| 5 | export 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.