MCPcopy
hub / github.com/GitbookIO/gitbook / get

Function get

packages/expr/src/symbols/symbols.ts:93–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92 Object.defineProperty(symbol, 'properties', {
93 get() {
94 if (symbol.type === SymbolType.Array) {
95 return isArraySymbol(symbol)
96 ? StandardLibrary[SymbolType.Array]?.(symbol).properties
97 : {};
98 }
99 return StandardLibrary[symbol.type]?.properties || {};
100 },
101 });
102
103 Object.defineProperty(symbol, 'methods', {

Callers

nothing calls this directly

Calls 1

isArraySymbolFunction · 0.85

Tested by

no test coverage detected