Function
get
(node: FieldPathNode, property: string | symbol)
Source from the content-addressed store, hash-verified
| 101 | /** Proxy handler which implements `FieldPath` on top of a `FieldPathNode`. */ |
| 102 | export 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
Tested by
no test coverage detected