0|| ( quots -- ? )
Factor handbook > The language > Combinators > Short-circuit combinators

Prev:3&& ( obj1 obj2 obj3 quots -- ? )
Next:1|| ( obj quots -- ? )


Vocabulary
combinators.short-circuit

Inputs and outputs
quotsa sequence of quotations with stack effect ( -- ? )
?the first true result, or f


Word description
If every quotation in the sequence outputs f, outputs f, otherwise outputs the result of the first quotation that did not yield f.

Definition