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

Function isSequence

src/compute-engine/sequence.ts:818–821  ·  view source on GitHub ↗
(ce: ComputeEngine, name: string)

Source from the content-addressed store, hash-verified

816 * Compute the term at `root` of a pure sequence, with the lower terms
817 * that it reads.
818 *
819 * The terms are computed on demand, with a stack of the terms whose
820 * computation is not complete: when the recurrence of the term on the top
821 * reads a term that is not known, its evaluation is stopped (`termAt()`
822 * throws the signal of the read), the term that it reads is put on the
823 * stack, and the term is computed again when that term is known. Thus:
824 * - only the terms that the recurrence reads are computed: a term in a

Callers 1

generateSequenceTermsFunction · 0.70

Calls 2

getMethod · 0.65
hasMethod · 0.65

Tested by

no test coverage detected