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

Function copySignalValue

packages/sanddance-explorer/src/partialInsight.ts:28–34  ·  view source on GitHub ↗
(signalName: string)

Source from the content-addressed store, hash-verified

26 specTypePrefs[role] = rolePrefs;
27 const column = partialInsight.columns[role];
28 const copySignalValue = (signalName: string) => {
29 if (partialInsight.signalValues && partialInsight.signalValues[signalName] && rolePrefs[column]) {
30 const signalValues = rolePrefs[column].signalValues || {};
31 signalValues[signalName] = partialInsight.signalValues[signalName];
32 rolePrefs[column].signalValues = signalValues;
33 }
34 };
35
36 switch (role) {
37 case 'color':

Callers 1

initPrefsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected