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

Function isColor

docs/app/js/sanddance-app.js:2044–2046  ·  view source on GitHub ↗
(cssColorSpecifier)

Source from the content-addressed store, hash-verified

2042// Licensed under the MIT license.
2043var _d3Color = require("d3-color");
2044function isColor(cssColorSpecifier) {
2045 return !!(0, _d3Color.color)(cssColorSpecifier);
2046}
2047function isQuantitative(column) {
2048 return column.type === "number" || column.type === "integer";
2049}

Callers 2

checkIsColorDataFunction · 0.70
getStatsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected