is-observable

v3.0.0
Check if a value is an Observable
observable observables is check detect type

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


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.
npm i is-observable

Metadata

  • MIT
  • >=14.16
  • Sindre Sorhus
  • released 6/6/2022

Downloads

Maintainers