MCPcopy
hub / github.com/angular/angular / bindLevel

Function bindLevel

packages/forms/signals/src/schema/logic_node.ts:553–555  ·  view source on GitHub ↗

* Create a bound version of the given predicate to a specific depth in the field tree. * This allows us to unambiguously know which `FieldContext` the predicate function should receive. * * This is of particular concern when a schema is applied recursively to itself. Since the schema is * only c

(predicate: Predicate, depth: number)

Source from the content-addressed store, hash-verified

551 * @returns A bound predicate
552 */
553function bindLevel(predicate: Predicate, depth: number): BoundPredicate {
554 return {...predicate, depth: depth};
555}

Callers 2

getChildMethod · 0.85
createLogicFunction · 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…