(left: string | undefined, right: string | undefined)
| 73 | * exists to avoid. |
| 74 | */ |
| 75 | export function sameSymbol(left: string | undefined, right: string | undefined): boolean { |
| 76 | if (left === undefined || right === undefined || left.length === 0 || right.length === 0) { |
| 77 | return false; |
| 78 | } |
| 79 | return left === right || left.endsWith(`.${right}`) || right.endsWith(`.${left}`); |
| 80 | } |
no outgoing calls
no test coverage detected