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


let io => import 'io';
let ex => switch 'this is irrelevant for this example' {
  false => 'This is, obviously, not returned.';
  'a string' => 'This is also not returned.';
  true => 'This is returned.';
};
ex -- io.writeln io.stdout;