MCPcopy Create free account
hub / github.com/alignoth/alignoth / sf

Function sf

resources/vega.min.js:9143–9145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9141 ((this.r = +t), (this.g = +e), (this.b = +n), (this.opacity = +r));
9142 }
9143 function sf() {
9144 return `#${ff(this.r)}${ff(this.g)}${ff(this.b)}`;
9145 }
9146 function uf() {
9147 const t = lf(this.opacity);
9148 return `${1 === t ? "rgb(" : "rgba("}${cf(this.r)}, ${cf(this.g)}, ${cf(this.b)}${1 === t ? ")" : `, ${t})`}`;

Callers

nothing calls this directly

Calls 1

ffFunction · 0.70

Tested by

no test coverage detected