Skip to content

getOpCodeName

function getOpCodeName(op): string;

Defined in: packages/engine/src/parser/OpCode.ts:180

Gets the name of an OpCode as a string.

ParameterTypeDescription
opnumberThe OpCode value

string

The enum name as a string, or “UNKNOWN_” if not found