RxJS Functions (Part 14)
1 min readJan 21, 2019
isObservable
isObservable
https://rxjs.dev/api/index/function/isObservable
Tests to see if the object is an RxJS
Observable
Use Case
As in the above example, combining isObservable
with iif
could be a good way to make sure you’re always subscribed to an Observable in cases where you’re not sure of a variables current value.
Short and sweet today. Thanks for reading. Stay tuned for Part 15, and be sure to check out my previous articles.