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

Function unhold

src/math-json/utils.ts:178–184  ·  view source on GitHub ↗
(
  expr: MathJsonExpression | null
)

Source from the content-addressed store, hash-verified

176 return expr.slice(1, -1);
177 return expr;
178 }
179
180 if (expr === null || expr === undefined) return null;
181
182 if (isSymbolObject(expr)) return expr.sym;
183 return null;
184}
185
186function keyValuePair(
187 expr: MathJsonExpression | null | undefined

Callers 1

Calls 2

operandFunction · 0.85
operatorFunction · 0.70

Tested by

no test coverage detected