Return the integer value if the instance is an integer.

else aborts

Property definitions

nitc $ Instance :: to_i
	# Return the integer value if the instance is an integer.
	# else aborts
	fun to_i: Int do abort
src/interpreter/naive_interpreter.nit:733,2--735,23

nitc $ PrimitiveInstance :: to_i
	redef fun to_i do return val.as(Int)
src/interpreter/naive_interpreter.nit:828,2--37