Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
989
function
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
get
Method · 0.85
Calls
1
max
Method · 0.80
Tested by
no test coverage detected