(l: array<PropertyKey>, r: array<PropertyKey>)
| 246 | |
| 247 | // compared from the end, where paths usually differ |
| 248 | const pathEquals = (l: array<PropertyKey>, r: array<PropertyKey>) => { |
| 249 | if (l.length !== r.length) return false |
| 250 | for (let i = l.length - 1; i >= 0; i--) if (l[i] !== r[i]) return false |
| 251 | return true |
| 252 | } |
| 253 | |
| 254 | // keeps the text a standalone validator wrote; its actual describes its data |
| 255 | export const errorOfIssue = ( |
no outgoing calls
no test coverage detected