(a: PropRef, b: PropRef)
| 1108 | } |
| 1109 | |
| 1110 | function areRefsEqual(a: PropRef, b: PropRef): boolean { |
| 1111 | if (a.path.length !== b.path.length) { |
| 1112 | return false |
| 1113 | } |
| 1114 | return a.path.every((segment, i) => segment === b.path[i]) |
| 1115 | } |
| 1116 | |
| 1117 | /** |
| 1118 | * Check if a value is a primitive (string, number, boolean, null, undefined) |
no outgoing calls
no test coverage detected