A value boxed with done()
signals to its caller that it
should stop iterating. Use it to shortcircuit a loop.
Arguments
- x
For
done()
, a value to box. Foris_done_box()
, a value to test.- empty
Whether the box is empty. If
NULL
,is_done_box()
returnsTRUE
for all done boxes. IfTRUE
, it returnsTRUE
only for empty boxes. Otherwise it returnsTRUE
only for non-empty boxes.
Value
A boxed value.