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

Function checkIsColorData

docs/tests/v2/es6/js/sanddance.js:147813–147821  ·  view source on GitHub ↗
(data, column)

Source from the content-addressed store, hash-verified

147811}
147812
147813function checkIsColorData(data, column) {
147814 for (let i = 0; i < data.length; i++) {
147815 if (!VegaDeckGl.util.isColor(data[i][column.name])) {
147816 return;
147817 }
147818 }
147819
147820 column.isColorData = true;
147821}
147822
147823function getStats(data, column) {
147824 const distinctMap = {};

Callers 1

inferAllFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected