Returns true if the string contains only Decimal digits

assert "10839".is_dec == true
assert "164F".is_dec  == false

Property definitions

core $ Text :: is_dec
	# Returns `true` if the string contains only Decimal digits
	#
	# ~~~
	# assert "10839".is_dec == true
	# assert "164F".is_dec  == false
	# ~~~
	fun is_dec: Bool do
		for i in chars do if i < '0' or i > '9' then return false
		return true
	end
lib/core/text/abstract_text.nit:415,2--424,4