View Source BitcoinLib.Script.Opcodes.FlowControl.If (BitcoinLib v0.4.7)
Based on https://en.bitcoin.it/wiki/Script
Word OP_IF Opcode 99 Hex 0x63
Link to this section Summary
Functions
Returns <<0x63>>
If the top stack value is not False, the statements are executed. The top stack value is removed.
Returns 0x63
Link to this section Functions
@spec encode() :: <<_::8>>
Returns <<0x63>>
examples
Examples
iex> BitcoinLib.Script.Opcodes.FlowControl.If.encode()
<<0x63>>
If the top stack value is not False, the statements are executed. The top stack value is removed.
@spec v() :: 99
Returns 0x63
examples
Examples
iex> BitcoinLib.Script.Opcodes.FlowControl.If.v()
0x63