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

Method _generation

src/compute-engine/index.ts:453–455  ·  view source on GitHub ↗

* The generation is incremented each time the context changes. * It is used to invalidate caches. * @internal

()

Source from the content-addressed store, hash-verified

451 * console.log(expr.N().toString());
452 * // ➔ "-1"
453 *
454 * expr = ce.expr(["Expand", ["Power", ["Add", "a", "b"], 2]]);
455 * console.log(expr.evaluate().toString());
456 * // ➔ "a^2 + 2ab + b^2"
457 * ```
458 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected