MCPcopy Create free account
hub / github.com/microsoft/SandDance / configure

Function configure

docs/app/js/sanddance-app.js:69415–69421  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

69413 printRowMajor: true
69414};
69415function configure(options) {
69416 for(const key in options){
69417 (0, _assertDefault.default)(key in config);
69418 config[key] = options[key];
69419 }
69420 return config;
69421}
69422function formatValue(value, { precision =config.precision } = {}) {
69423 value = round(value);
69424 return "".concat(parseFloat(value.toPrecision(precision)));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected