MCPcopy Create free account
hub / github.com/Noumena-Network/code / widestLineFromLines

Function widestLineFromLines

src/ink/output.ts:989–995  ·  view source on GitHub ↗
(lines: string[])

Source from the content-addressed store, hash-verified

987}
988
989function widestLineFromLines(lines: string[]): number {
990 let maxWidth = 0
991 for (const line of lines) {
992 maxWidth = Math.max(maxWidth, stringWidth(line))
993 }
994 return maxWidth
995}

Callers 1

getMethod · 0.85

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected