MCPcopy Index your code
hub / github.com/angular/angular / ɵɵtwoWayBindingSet

Function ɵɵtwoWayBindingSet

packages/core/src/render3/instructions/two_way.ts:63–67  ·  view source on GitHub ↗
(target: unknown, value: T)

Source from the content-addressed store, hash-verified

61 * @codeGenApi
62 */
63export function ɵɵtwoWayBindingSet<T>(target: unknown, value: T): boolean {
64 const canWrite = isWritableSignal(target);
65 canWrite && target.set(value);
66 return canWrite;
67}
68
69/**
70 * Adds an event listener that updates a two-way binding to the current node.

Callers

nothing calls this directly

Calls 2

isWritableSignalFunction · 0.90
setMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…