MCPcopy Index your code
hub / github.com/microsoft/SandDance / formatString

Method formatString

docs/app/js/sanddance-app.js:75372–75375  ·  view source on GitHub ↗
({ printTypes =false  })

Source from the content-addressed store, hash-verified

75370 return this.formatString((0, _common.config));
75371 }
75372 formatString({ printTypes =false }) {
75373 const f = (0, _common.formatValue);
75374 return "".concat(printTypes ? "Spherical" : "", "[rho:").concat(f(this.radius), ",theta:").concat(f(this.theta), ",phi:").concat(f(this.phi), "]");
75375 }
75376 equals(other) {
75377 return (0, _common.equals)(this.radius, other.radius) && (0, _common.equals)(this.theta, other.theta) && (0, _common.equals)(this.phi, other.phi);
75378 }

Callers 1

toStringMethod · 0.95

Calls 1

fFunction · 0.70

Tested by

no test coverage detected