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

Function warnIfSignal

packages/common/src/pipes/utils.ts:25–29  ·  view source on GitHub ↗
(pipeName: string, value: unknown)

Source from the content-addressed store, hash-verified

23}
24
25export function warnIfSignal(pipeName: string, value: unknown): void {
26 if (isSignal(value)) {
27 console.warn(`The ${pipeName} does not unwrap signals. Received a signal with value:`, value());
28 }
29}

Callers 2

transformMethod · 0.90
transformMethod · 0.90

Calls 3

isSignalFunction · 0.90
valueFunction · 0.85
warnMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…