isSmallIntOp
scrypt-ts-opcat / Opcode / isSmallIntOp
Function: isSmallIntOp()
isSmallIntOp(
opcode
):boolean
Defined in: node_modules/@opcat-labs/opcat/types/opcode.d.cts:92
Checks if the given opcode is a small integer opcode (OP_0 to OP_16).
Parameters
opcode
The opcode to check, either as a number or Opcode instance.
number
| Opcode
Returns
boolean
True if the opcode is a small integer opcode, false otherwise.