is-observable
Check if a value is an Observable
Install
$ npm install is-observable
Usage
const isObservable = require('is-observable');
isObservable(Observable.of(1, 2));
//=> true
Related
- observable-to-promise - Convert an Observable to a Promise
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.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.