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

Method isType

src/type-extensions/function.ts:141–143  ·  view source on GitHub ↗
(_thread: Thread, _index: number, type: LuaType)

Source from the content-addressed store, hash-verified

139 }
140
141 public isType(_thread: Thread, _index: number, type: LuaType): boolean {
142 return type === LuaType.Function
143 }
144
145 public pushValue(thread: Thread, decoration: Decoration<FunctionType, FunctionDecoration>): boolean {
146 if (typeof decoration.target !== 'function') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected