MCPcopy Create free account
hub / github.com/eva-engine/eva.js / getStringOrSymbol

Function getStringOrSymbol

examples/public/basis/basis_transcoder.js:1051–1058  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

1049 } const emval_symbols = {};
1050
1051 function getStringOrSymbol(address)
1052 {
1053 const symbol = emval_symbols[address];
1054
1055 if (symbol === undefined) { return readLatin1String(address); }
1056
1057 return symbol;
1058 } const emval_methodCallers = [];
1059
1060 function __emval_call_void_method(caller, handle, methodName, args) { caller = emval_methodCallers[caller]; handle = requireHandle(handle); methodName = getStringOrSymbol(methodName); caller(handle, methodName, null, args); } function emval_get_global()
1061 {

Callers 4

__emval_call_void_methodFunction · 0.70
__emval_get_globalFunction · 0.70
__emval_new_cstringFunction · 0.70

Calls 1

readLatin1StringFunction · 0.70

Tested by

no test coverage detected