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

Function unionIterator

src/compute-engine/library/sets.ts:1497–1510  ·  view source on GitHub ↗
(
  col: Expression
)

Source from the content-addressed store, hash-verified

1495 },
1496 n: {
1497 description: 'The modulus, an exact integer literal ≥ 1.',
1498 sample: '5',
1499 },
1500 },
1501 // A class is a value of a VALUE KIND: this registers `residue` as a kind
1502 // type in every engine, which is what the recognition of a class reads
1503 // (`holdsKindValue()`, `residue-class.ts`). The hooks are the residue
1504 // arithmetic (`RESIDUE_CLASS_ARITHMETIC`).
1505 arithmetic: RESIDUE_CLASS_ARITHMETIC,
1506 // Lazy, so that `.N()` does not approximate the operands first: a class
1507 // is exact, and `ResidueClass(q, 7)` with `q = 1/3` is
1508 // `ResidueClass(5, 7)` under `.N()` as under `evaluate()`.
1509 lazy: true,
1510 canonical: (ops, { engine: ce }) => {
1511 const args = checkArity(
1512 ce,
1513 ops.map((x) => x.canonical),

Callers

nothing calls this directly

Calls 3

isFunctionFunction · 0.90
eachMethod · 0.65
containsMethod · 0.65

Tested by

no test coverage detected