UNPKG

is-observable

Version:
35 lines (24 loc) 833 B
# is-observable > Check if a value is an [Observable](https://github.com/zenparsing/es-observable) ## Install ```sh npm install is-observable ``` ## Usage ```js import isObservable from 'is-observable'; isObservable(Observable.of(1, 2)); //=> true ``` ## Related - [observable-to-promise](https://github.com/sindresorhus/observable-to-promise) - Convert an Observable to a Promise --- <div align="center"> <b> <a href="https://tidelift.com/subscription/pkg/npm-is-observable?utm_source=npm-is-observable&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> </b> <br> <sub> Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. </sub> </div>