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

Function hf

resources/vega.min.js:9159–9168  ·  view source on GitHub ↗
(t, e, n, r)

Source from the content-addressed store, hash-verified

9157 return ((t = cf(t)) < 16 ? "0" : "") + t.toString(16);
9158 }
9159 function hf(t, e, n, r) {
9160 return (
9161 r <= 0
9162 ? (t = e = n = NaN)
9163 : n <= 0 || n >= 1
9164 ? (t = e = NaN)
9165 : e <= 0 && (t = NaN),
9166 new gf(t, e, n, r)
9167 );
9168 }
9169 function df(t) {
9170 if (t instanceof gf) return new gf(t.h, t.s, t.l, t.opacity);
9171 if ((t instanceof Lc || (t = tf(t)), !t)) return new gf();

Callers 1

tfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected