MCPcopy Index your code
hub / github.com/Alphanimble/htmlstream / findActiveTable

Function findActiveTable

src/patch-streaming-html.ts:697–703  ·  view source on GitHub ↗
(container: HTMLElement)

Source from the content-addressed store, hash-verified

695}
696
697function findActiveTable(container: HTMLElement): HTMLTableElement | null {
698 const tables = container.querySelectorAll("table");
699 if (tables.length === 0) {
700 return null;
701 }
702 return tables[tables.length - 1] as HTMLTableElement;
703}
704
705function patchTableRows(
706 container: HTMLElement,

Callers 1

patchTableRowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected