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

Function we

resources/vega.min.js:1221–1234  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

1219 return n;
1220 }
1221 function we(t, e) {
1222 let n;
1223 if (void 0 === e)
1224 for (const e of t)
1225 null != e && (n > e || (void 0 === n && e >= e)) && (n = e);
1226 else {
1227 let r = -1;
1228 for (let i of t)
1229 null != (i = e(i, ++r, t)) &&
1230 (n > i || (void 0 === n && i >= i)) &&
1231 (n = i);
1232 }
1233 return n;
1234 }
1235 function ke(t, e) {
1236 let n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0,
1237 r =

Callers 1

MeFunction · 0.70

Calls 1

eFunction · 0.85

Tested by

no test coverage detected