MCPcopy Create free account
hub / github.com/ceifa/wasmoon / indexToString

Method indexToString

src/thread.ts:354–359  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

352 }
353
354 public indexToString(index: number): string {
355 const str = this.lua.luaL_tolstring(this.address, index, null)
356 // Pops the string pushed by luaL_tolstring
357 this.pop()
358 return str
359 }
360
361 public dumpStack(log = console.log): void {
362 const top = this.getTop()

Callers 4

dumpStackMethod · 0.95
assertOkMethod · 0.95
readTableKeysMethod · 0.80
readTableValuesMethod · 0.80

Calls 1

popMethod · 0.95

Tested by

no test coverage detected