(col: ColumnDefinition, ref: string)
| 48 | * with `.find` / `.findIndex` so id-or-name resolution can't drift between sites. |
| 49 | */ |
| 50 | export function columnMatchesRef(col: ColumnDefinition, ref: string): boolean { |
| 51 | return getColumnId(col) === ref || col.name.toLowerCase() === ref.toLowerCase() |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Returns a schema copy with a generated id stamped onto every column that |
no test coverage detected