MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / hasErrorExpr

Function hasErrorExpr

scripts/fungrim/numeric-check.ts:225–229  ·  view source on GitHub ↗
(e: BoxedExpression)

Source from the content-addressed store, hash-verified

223 outcome: 'not-evaluable',
224 detail: `THROW: ${String(err?.message ?? err).slice(0, 120)}`,
225 };
226 }
227}
228
229function hasErrorExpr(e: BoxedExpression): boolean {
230 if (e.operator === 'Error') return true;
231 if (isFunction(e)) return e.ops.some(hasErrorExpr);
232 return false;

Callers 1

numericCheckEntryFunction · 0.85

Calls 1

isFunctionFunction · 0.90

Tested by

no test coverage detected