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

Function hasPowerOfAdd

src/compute-engine/boxed-expression/simplify.ts:496–500  ·  view source on GitHub ↗
(e: Expression)

Source from the content-addressed store, hash-verified

494 if (!steps) steps = [{ value: expr, because: 'initial' }];
495
496 //
497 // 1/ Use the canonical form, if applicable
498 //
499 if (!expr.isValid) return steps;
500
501 if (!(expr.isCanonical || expr.isStructural)) {
502 const canonical = expr.canonical;
503 if (!(canonical.isCanonical || canonical.isStructural)) return steps;

Callers 1

Calls 1

isFunctionFunction · 0.90

Tested by

no test coverage detected