getOpCodeName
function getOpCodeName(op): string;Defined in: packages/engine/src/parser/OpCode.ts:180
Gets the name of an OpCode as a string.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
op | number | The OpCode value |
Returns
Section titled “Returns”string
The enum name as a string, or “UNKNOWN_