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

Method toString

benchmark/data-min.js:798–806  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

796 return ((this.intro = t + this.intro), this);
797 }
798 toString() {
799 const t = this.sources
800 .map((e, n) => {
801 const i = e.separator !== void 0 ? e.separator : this.separator;
802 return (n > 0 ? i : '') + e.content.toString();
803 })
804 .join('');
805 return this.intro + t;
806 }
807 isEmpty() {
808 return !(
809 (this.intro.length && this.intro.trim()) ||

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected