Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

getOpCodeName

function getOpCodeName(op): string;

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

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