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

Method pushValue

src/type-extensions/error.ts:67–72  ·  view source on GitHub ↗
(thread: Thread, decoration: Decoration<Error>)

Source from the content-addressed store, hash-verified

65 }
66
67 public pushValue(thread: Thread, decoration: Decoration<Error>): boolean {
68 if (!(decoration.target instanceof Error)) {
69 return false
70 }
71 return super.pushValue(thread, decoration)
72 }
73
74 public close(): void {
75 this.thread.lua.module.removeFunction(this.gcPointer)

Callers 1

constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected