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

Method symbol

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

Create a boxed symbol

(
    name: string,
    options?: { canonical?: CanonicalOptions; metadata?: Metadata }
  )

Source from the content-addressed store, hash-verified

1822 this.NegativeInfinity = commonNumbers.NegativeInfinity;
1823 this.I = commonNumbers.I;
1824 this.ComplexInfinity = commonNumbers.ComplexInfinity;
1825
1826 // Reset the caches/create (precision-dependent) numeric constants
1827 this._reset();
1828
1829 // Create the system scope (top-level scope)
1830 this.pushScope(undefined, 'system');
1831
1832 // Declare the standard types. A definition that a declaration makes is a

Callers 2

assumeIntegerFunction · 0.95
forTypeFunction · 0.95

Calls 1

createSymbolExpressionFunction · 0.90

Tested by 2

assumeIntegerFunction · 0.76
forTypeFunction · 0.76