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

Method trimStart

src/MagicString.js:808–811  ·  view source on GitHub ↗
(charType)

Source from the content-addressed store, hash-verified

806 }
807
808 trimStart(charType) {
809 this.trimStartAborted(charType);
810 return this;
811 }
812
813 hasChanged() {
814 return this.original !== this.toString();

Callers 2

trimMethod · 0.95
trimStartAbortedMethod · 0.45

Calls 1

trimStartAbortedMethod · 0.95

Tested by

no test coverage detected