IsPushdataOp

Test whether an opcode is a data-push operation.

Synopsis

Declared in <script/solver.h>

constexpr
bool
IsPushdataOp(opcodetype opcode);

Return Value

true if opcode pushes data onto the stack.

Parameters

NameDescription
opcodeThe opcode to test.