Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ isBlankLine
Function
isBlankLine
src/cm/indentGuides.ts:82–84 ·
view source on GitHub ↗
* Check if a line is blank
(line: string)
Source
from the content-addressed store, hash-verified
80
* Check
if
a line is blank
81
*/
82
function
isBlankLine(line: string): boolean {
83
return
/^\s*$/.test(line);
84
}
85
86
/**
87
* Count the leading indentation characters of a line.
Callers
1
getCachedLineInfo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected