Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ trimLines
Method
trimLines
src/MagicString.js:738–740 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
736
}
737
738
trimLines() {
739
return
this.trim(
'[\\r\\n]'
);
740
}
741
742
trim(charType) {
743
return
this.trimStart(charType).trimEnd(charType);
Callers
nothing calls this directly
Calls
1
trim
Method · 0.95
Tested by
no test coverage detected