isEmpty
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?
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 if a document is empty. The result is the same as when comparing
the given document to
mempty, but this function does not
require the
Eq s constraint. Note that the document
comprising a single empty string is considered to be different from
the empty document.
isEmpty mempty == True
isEmpty (literal "") == False
isEmpty x == (x == mempty)
Check if a graph is empty.
isEmpty == foldg True (const False) (&&) (&&)