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

Function assign

src/compute-engine/free-functions.ts:129–134  ·  view source on GitHub ↗
(
  arg1: string | { [id: string]: AssignValue },
  arg2?: AssignValue
)

Source from the content-addressed store, hash-verified

127export function assign(id: string, value: AssignValue): void;
128export function assign(ids: { [id: string]: AssignValue }): void;
129export function assign(
130 arg1: string | { [id: string]: AssignValue },
131 arg2?: AssignValue
132): void {
133 getDefaultEngine().assign(arg1 as any, arg2 as any);
134}
135
136export function expand(
137 expr: LatexString | ExpressionInput,

Callers

nothing calls this directly

Calls 2

getDefaultEngineFunction · 0.85
assignMethod · 0.65

Tested by

no test coverage detected