MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / get

Function get

modules/material-parser/src/parse/js/utils/cache.ts:12–14  ·  view source on GitHub ↗
(scope: string, name: string)

Source from the content-addressed store, hash-verified

10}
11
12export function get(scope: string, name: string) {
13 return (cache[scope] || {})[name];
14}
15
16export function has(scope: string, name: string) {
17 return cache[scope] && Object.prototype.hasOwnProperty.call(cache[scope], name);

Callers 3

getDefinitionFunction · 0.90
getTypeFunction · 0.50
getExportNameOfDepFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected