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

Function isSignal

packages/core/src/render3/reactivity/api.ts:35–37  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

33 * @publicApi 17.0
34 */
35export function isSignal(value: unknown): value is Signal<unknown> {
36 return typeof value === 'function' && (value as Signal<unknown>)[SIGNAL] !== undefined;
37}
38
39/**
40 * A comparison function which can determine if two values are equal.

Callers 3

resourceFromSnapshotsFunction · 0.90
loadEffectMethod · 0.90
isWritableSignalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…