MCPcopy Index your code
hub / github.com/tdewolff/minify / stringify

Function stringify

_benchmarks/sample_echarts.js:2730–2739  ·  view source on GitHub ↗
(arrColor, type)

Source from the content-addressed store, hash-verified

2728 }
2729 }
2730 function stringify(arrColor, type) {
2731 if (!arrColor || !arrColor.length) {
2732 return;
2733 }
2734 var colorStr = arrColor[0] + ',' + arrColor[1] + ',' + arrColor[2];
2735 if (type === 'rgba' || type === 'hsva' || type === 'hsla') {
2736 colorStr += ',' + arrColor[3];
2737 }
2738 return type + '(' + colorStr + ')';
2739 }
2740 function lum(color, backgroundLum) {
2741 var arr = parse(color);
2742 return arr

Callers 5

liftFunction · 0.70
lerp$1Function · 0.70
modifyHSLFunction · 0.70
modifyAlphaFunction · 0.70
sample_echarts.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…