Return the boolean instance associated with val.

Property definitions

nitc $ NaiveInterpreter :: bool_instance
	# Return the boolean instance associated with `val`.
	fun bool_instance(val: Bool): Instance
	do
		if val then return self.true_instance else return self.false_instance
	end
src/interpreter/naive_interpreter.nit:210,2--214,4