isEmpty -package:algebraic-graphs

Test whether all input has been consumed, i.e. there are no remaining undecoded bytes.
Whether a Chunk is empty. Note that something like 'pure mempty' is not considered an empty chunk, even though the underlying Doc is empty.
Returns True if the document is empty
Returns True if the document is empty
Test whether all input has been consumed. WARNING: when run with runGetPartial, isEmpty will only tell you if you're at the end of the current chunk.
True if the given Graph is empty.
Is a range empty? If this returns True, then the contains predicate will always return False. However, if this returns False, it is not necessarily true that there exists a point for which contains returns True. Consider PGRange (Excludes 2) (Excludes 3) :: PGRange Int, for example.
Does this graph have any nodes?
Checks whether a FastMutableIntMap is empty
Check whether a FastWeakBag is empty.
Determine if the document is empty or not.
Test whether all input has been consumed, i.e. there are no remaining unparsed bytes.
Test whether all input has been consumed, i.e. there are no remaining unparsed bytes.
Check whether the builder is empty.
O(1) - Check if array has elements.

Examples

>>> import Data.Massiv.Array

>>> isEmpty (singleton 1 :: Array D Ix2 Int)
False

>>> isEmpty (empty :: Array D Ix2 Int)
True
Determine if the source is empty.
Test whether all input has been consumed, i.e. there are no remaining unparsed bytes.
Synonym for null.
Returns True iff the matrix is empty.
True if the document is empty.