Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AztecProtocol/aztec-packages
/ countLeadingSpaces
Function
countLeadingSpaces
docs/src/preprocess/include_code.js:48–51 ·
view source on GitHub ↗
(line)
Source
from the content-addressed store, hash-verified
46
};
47
48
const
countLeadingSpaces = (line) => {
49
const
match = line.match(/^ */);
50
return
match ? match[0].length : 0;
51
};
52
let
indention = 200;
53
let
resultLines = [];
54
Callers
1
processHighlighting
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected