Skip to main content

is_small_int_op

Function is_small_int_op 

Source
pub fn is_small_int_op(op: u8) -> bool
Expand description

Check if an opcode represents a small integer (OP_0 or OP_1..OP_16).

§Arguments

  • op - The opcode byte value.

§Returns

true if the opcode pushes a small integer (0-16) onto the stack.