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

Function ft

resources/vega.min.js:380–389  ·  view source on GitHub ↗
(t, e, n, r, i, o)

Source from the content-addressed store, hash-verified

378 );
379 }
380 function ft(t, e, n, r, i, o) {
381 if (!n && 0 !== n) return o;
382 const a = +n;
383 let s,
384 u = t[0],
385 l = F(t);
386 (l < u && ((s = u), (u = l), (l = s)), (s = Math.abs(e - u)));
387 const c = Math.abs(l - e);
388 return s < c && s <= a ? r : c <= a ? i : o;
389 }
390 function ht(t, e, n) {
391 const r = (t.prototype = Object.create(e.prototype));
392 return (

Callers

nothing calls this directly

Calls 1

FFunction · 0.85

Tested by

no test coverage detected