MCPcopy Create free account
hub / github.com/EvoMap/evolver / earliest

Function earliest

src/webui/observer/runs.js:340–344  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

338}
339
340function earliest(a, b) {
341 if (!a) return b || null;
342 if (!b) return a;
343 return timestampOf(a) <= timestampOf(b) ? a : b;
344}
345
346function latest(a, b) {
347 if (!a) return b || null;

Callers 1

mergeRunFunction · 0.85

Calls 1

timestampOfFunction · 0.85

Tested by

no test coverage detected