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

Method getSequenceStatus

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

* Get the status of a sequence definition. * * @example * ```typescript * ce.parse('F_0 := 0').evaluate(); * ce.getSequenceStatus('F'); * // → { status: 'pending', hasBase: true, hasRecurrence: false, baseIndices: [0] } * ```

(name: string)

Source from the content-addressed store, hash-verified

1392 // view has no key of its own here.
1393 if (this._valueShieldKeys.length > 0) return this._baseCacheGeneration(0);
1394 return this._anyVersion * 4 + 2;
1395 }
1396
1397 /** The value shields on the stack, innermost last: the key in force inside
1398 * each one and the `any` axis that key was minted for. See
1399 * `_withValueShieldKey()`. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected