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

Function addNullable

docs/app/js/sanddance-app.js:11180–11188  ·  view source on GitHub ↗
(insight, signalValues)

Source from the content-addressed store, hash-verified

11178var _util = require("./util");
11179var _sanddance = require("@msrvida/sanddance");
11180function addNullable(insight, signalValues) {
11181 const withNulls = Object.assign(Object.assign({
11182 view: null,
11183 filter: null
11184 }, insight), {
11185 signalValues
11186 });
11187 return withNulls;
11188}
11189function compareProps(viewer, insight) {
11190 const currentInsight = viewer.getInsight();
11191 const a = addNullable(currentInsight, Object.assign(Object.assign({}, viewer.insight.signalValues), currentInsight.signalValues));

Callers 1

comparePropsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected