SlotCapture
Capture that stores only the last value.
Properties
Link copied to clipboard
Returns true if SlotCapture.value is SlotCapture.Value.Absent.
Link copied to clipboard
Returns true if SlotCapture.value is SlotCapture.Value.Present.
Link copied to clipboard
If no captured values it returns Value.Absent. Otherwise, it returns the last captured value wrapped with Value.Present
Functions
Link copied to clipboard
Returns unwrapped SlotCapture.value if it is SlotCapture.Value.Present. Otherwise, it fails.
Link copied to clipboard
Returns unwrapped SlotCapture.value if it is SlotCapture.Value.Present. Otherwise, it returns null.
Link copied to clipboard
Just like getIfPresent, but as a getValue operator.