Expose an isObservableInput function #7519
csisy-bt4w
started this conversation in
Ideas / Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given the following function overload example:
Currently, it is inconvenient to write the implementation, since there is no easy way to check if an argument is an
ObservableInput
.However, the code itself is already somewhat implemented here:
rxjs/packages/observable/src/observable.ts
Line 1241 in f9f07f1
I propose to expose a type guard function
isObservableInput
similarly toisObservable
.Beta Was this translation helpful? Give feedback.
All reactions