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

Function isPendingSolidify

index.js:380–386  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

378}
379
380function isPendingSolidify(state) {
381 const lastRun = state && state.last_run ? state.last_run : null;
382 const lastSolid = state && state.last_solidify ? state.last_solidify : null;
383 if (!lastRun || !lastRun.run_id) return false;
384 if (!lastSolid || !lastSolid.run_id) return true;
385 return String(lastSolid.run_id) !== String(lastRun.run_id);
386}
387
388function parseMs(v, fallback) {
389 const n = parseInt(String(v == null ? '' : v), 10);

Callers 2

mainFunction · 0.85
loopMode.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected