Skip to content

Function: isSubscriptionLike() ​

isSubscriptionLike(value, strict?): value is Subscription

Defined in: packages/rx/src/isSubscriptionLike.ts:10

Check if value is an instance of RxJS Subscription or subscription-like object

Parameters ​

value ​

unknown

strict? ​

boolean = false

(optional) if true, will only check if value is instance of Subscription. Default: false

Returns ​

value is Subscription