MCPcopy Index your code
hub / github.com/angular/angular / isSubscribable

Function isSubscribable

packages/core/src/util/lang.ts:23–25  ·  view source on GitHub ↗
(obj: any | Subscribable<T>)

Source from the content-addressed store, hash-verified

21 * Determine if the argument is a Subscribable
22 */
23export function isSubscribable<T>(obj: any | Subscribable<T>): obj is Subscribable<T> {
24 return !!obj && typeof obj.subscribe === 'function';
25}

Callers 3

lang_spec.tsFile · 0.90
runInitializersMethod · 0.90
toObservableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…