Handbook
Glossary
3&& ( obj1 obj2 obj3 quots -- ? )
Factor handbook
»
The language
»
Combinators
»
Short-circuit combinators
Prev:
2&& ( obj1 obj2 quots -- ? )
Next:
0|| ( quots -- ? )
Vocabulary
combinators.short-circuit
Inputs
obj1
an
object
obj2
an
object
obj3
an
object
quots
a sequence of quotations with stack effect
( obj1 obj2 obj3 -- ? )
Outputs
?
the result of the last quotation, or
f
Word description
If every quotation in the sequence outputs a true value, outputs the result of the last quotation, otherwise outputs
f
.
Definition
IN:
combinators.short-circuit
:
3&&
( obj1 obj2 obj3 quots -- ? )
3
n&&
;