isEmpty

isEmpty :: Doc -> Bool
pretty Text.PrettyPrint.HughesPJ, pretty Text.PrettyPrint
Returns True if the document is empty
isEmpty :: Doc -> PprM Bool
template-haskell Language.Haskell.TH.PprLib
Returns True if the document is empty
isEmpty :: Graph gr => gr a b -> Bool
fgl Data.Graph.Inductive.Graph
isEmpty :: Ord a => Heap a b -> Bool
fgl Data.Graph.Inductive.Internal.Heap
isEmptyChan :: Chan a -> IO Bool
base Control.Concurrent.Chan
Returns True if the supplied Chan is empty.
isEmptyMVar :: MVar a -> IO Bool
base Control.Concurrent.MVar
Check whether a given MVar is empty. Notice that the boolean value returned is just a snapshot of the state of the MVar. By the time you get to react on its result, the MVar may have been filled (or emptied) - so be extremely careful when using this operation. Use tryTakeMVar instead if possible.
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.
isEmptyBuffer :: Buffer e -> Bool
base GHC.IO.Buffer
isEmptyFM :: FiniteMap a b -> Bool
fgl Data.Graph.Inductive.Internal.FiniteMap
isEmptyM :: GraphM m gr => m (gr a b) -> m Bool
fgl Data.Graph.Inductive.Monad
isEmptyTBQueue :: TBQueue a -> STM Bool
stm Control.Concurrent.STM.TBQueue
Returns True if the supplied TBQueue is empty.
isEmptyTChan :: TChan a -> STM Bool
stm Control.Concurrent.STM.TChan
Returns True if the supplied TChan is empty.
isEmptyTMVar :: TMVar a -> STM Bool
stm Control.Concurrent.STM.TMVar
Check whether a given TMVar is empty.
isEmptyTQueue :: TQueue a -> STM Bool
stm Control.Concurrent.STM.TQueue
Returns True if the supplied TQueue is empty.
buf_isEmpty :: BufferOp a -> a -> Bool
HTTP Network.BufferType