Task

Show how to represent the boolean states "true" and "false" in a language.

If other objects represent "true" or "false" in conditionals, note it.



Related tasks

   Logical operations


if false
  puts "false"
elsif nil
  puts "nil"
elsif Pointer(Nil).new 0
  puts "null pointer"
elsif true && "any other value"
  puts "finally true!"
end