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

Function detectNegative

docs/app/js/sanddance-app.js:2128–2133  ·  view source on GitHub ↗
(column, data)

Source from the content-addressed store, hash-verified

2126 return stats;
2127}
2128function detectNegative(column, data) {
2129 for(let i = 1; i < data.length; i++){
2130 if (data[i][column.name] < 0) return true;
2131 }
2132 return false;
2133}
2134function detectSequentialColumn(column, data) {
2135 if (data.length < 2) return false;
2136 let colname = column.name;

Callers 1

getStatsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected