in desmos, there isn’t really a separate data type for booleans. there is some boolean logic present though:

  • you can check if a condition is true using braces and if-else controls;
  • $1$ in that case is counted as true, and undefined (or more exactly NaN) is false.