MCPcopy
hub / github.com/angular/angular / get

Function get

packages/forms/signals/src/schema/path_node.ts:103–109  ·  view source on GitHub ↗
(node: FieldPathNode, property: string | symbol)

Source from the content-addressed store, hash-verified

101/** Proxy handler which implements `FieldPath` on top of a `FieldPathNode`. */
102export const FIELD_PATH_PROXY_HANDLER: ProxyHandler<FieldPathNode> = {
103 get(node: FieldPathNode, property: string | symbol) {
104 if (property === PATH) {
105 return node;
106 }
107
108 return node.getChild(property).fieldPathProxy;
109 },
110};

Callers

nothing calls this directly

Calls 1

getChildMethod · 0.65

Tested by

no test coverage detected