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 (true) { "a" } else { "b" }
# value: "a"
 
? if (false) { "a" } else { "b" }
# value: "b"
 
? if (90) { "a" } else { "b" }
# problem: the int 90 doesn't coerce to a boolean