(test: Node)
| 515 | // anywhere after `if (out instanceof type.errors) return out.issues` |
| 516 | private isPastErrorsTest(read: Node, binding: Binding): boolean { |
| 517 | const tests = (test: Node): boolean => { |
| 518 | const expression = unwrapExpression(test) as Node |
| 519 | return ( |
| 520 | expression.type === "BinaryExpression" && |
| 521 | this.isErrorsTest(expression, unwrapExpression(expression.left)) && |
| 522 | binding.references.some( |
| 523 | ({ id }) => id === unwrapExpression(expression.left) |
| 524 | ) |
| 525 | ) |
| 526 | } |
| 527 | const refutes = (test: Node): boolean => { |
| 528 | const expression = unwrapExpression(test) as Node |
| 529 | return ( |
nothing calls this directly
no test coverage detected