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

Function rf

resources/vega.min.js:9131–9136  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

9129 return (r <= 0 && (t = e = n = NaN), new af(t, e, n, r));
9130 }
9131 function rf(t) {
9132 return (
9133 t instanceof Lc || (t = tf(t)),
9134 t ? new af((t = t.rgb()).r, t.g, t.b, t.opacity) : new af()
9135 );
9136 }
9137 function of(t, e, n, r) {
9138 return 1 === arguments.length ? rf(t) : new af(t, e, n, null == r ? 1 : r);
9139 }

Callers 3

ofFunction · 0.70
CfFunction · 0.70
YfFunction · 0.70

Calls 1

tfFunction · 0.85

Tested by

no test coverage detected