is-observable
Check if a value is an Observable
Install
npm install is-observable
Usage
import isObservable from 'is-observable';
isObservable(Observable.of(1, 2));
//=> true
Related
- observable-to-promise - Convert an Observable to a Promise
- is - Type check values
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.