Is self a digit? (from '0' to '9')

assert '0'.is_digit   == true
assert '9'.is_digit   == true
assert 'a'.is_digit   == false

Property definitions

core $ Char :: is_digit
	# Is self a digit? (from '0' to '9')
	#
	#     assert '0'.is_digit   == true
	#     assert '9'.is_digit   == true
	#     assert 'a'.is_digit   == false
	fun is_digit : Bool
	do
		return self >= '0' and self <= '9'
	end
lib/core/kernel.nit:1008,2--1016,4