Is the current Text empty (== "")

assert "".is_empty
assert not "foo".is_empty

Property definitions

core $ Text :: is_empty
	# Is the current Text empty (== "")
	#
	# ~~~
	# assert "".is_empty
	# assert not "foo".is_empty
	# ~~~
	fun is_empty: Bool do return self.length == 0
lib/core/text/abstract_text.nit:84,2--90,46

core $ Concat :: is_empty
	redef fun is_empty do return _byte_length == 0
lib/core/text/ropes.nit:117,2--47