MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / trimLines

Method trimLines

src/Bundle.js:254–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252 }
253
254 trimLines() {
255 return this.trim('[\\r\\n]');
256 }
257
258 trim(charType) {
259 return this.trimStart(charType).trimEnd(charType);

Callers 1

Calls 1

trimMethod · 0.95

Tested by

no test coverage detected