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

Method trimLines

benchmark/data.js:1022–1024  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1020 );
1021 }
1022 trimLines() {
1023 return this.trim('[\\r\\n]');
1024 }
1025 trim(charType) {
1026 return this.trimStart(charType).trimEnd(charType);
1027 }

Callers

nothing calls this directly

Calls 1

trimMethod · 0.95

Tested by

no test coverage detected