[#IsOpSuccess]
= IsOpSuccess
:mrdocs:

Test for OP&lowbar;SUCCESSx opcodes as defined by BIP342&period;

== Synopsis

Declared in `&lt;script&sol;script&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
IsOpSuccess(xref:opcodetype.adoc[opcodetype] const& opcode);
----

== Return Value

true if `opcode` is an OP&lowbar;SUCCESSx opcode&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *opcode*
| Opcode to test&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
