isEmptySampleVar

isEmptySampleVar :: SampleVar a -> IO Bool
base Control.Concurrent.SampleVar
Returns True if the SampleVar is currently empty. Note that this function is only useful if you know that no other threads can be modifying the state of the SampleVar, because otherwise the state of the SampleVar may have changed by the time you see the result of isEmptySampleVar.