MCPcopy
hub / github.com/josdejong/mathjs / createSubScope

Function createSubScope

src/utils/scope.js:16–22  ·  view source on GitHub ↗
(parentScope, args)

Source from the content-addressed store, hash-verified

14 * @returns {PartitionedMap}
15 */
16export function createSubScope (parentScope, args) {
17 return new PartitionedMap(
18 parentScope,
19 new ObjectWrappingMap(args),
20 new Set(Object.keys(args))
21 )
22}

Callers 2

_compileMethod · 0.90
_compileMethod · 0.90

Calls 1

keysMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…