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

Function setForceParam

docs/app/js/sanddance-app.js:135691–135693  ·  view source on GitHub ↗
(f, v, _)

Source from the content-addressed store, hash-verified

135689 return f;
135690}
135691function setForceParam(f, v, _) {
135692 f((0, _vegaUtil.isFunction)(v) ? (d)=>v(d, _) : v);
135693}
135694
135695},{"vega-dataflow":"4kvYg","vega-util":"dPFAY","d3-force":"krYJV","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"krYJV":[function(require,module,exports) {
135696var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

getForceFunction · 0.70

Calls 2

vFunction · 0.85
fFunction · 0.70

Tested by

no test coverage detected