Leonardus
Analogous LeoScript Operator ifelse

STACK

$ B\ Ax_1\ Ax_2\ -- $

DESCRIPTION

Red book operator removes all three operands from the stack,
then executes $ Ax_1 $ if B is true or $ Ax_2 $ if B is false.
The ifelse operator pushes no results of its own on the operand stack,
but the procedure it executes may do so.

ORIGIN

Core code registered in systemdict.