if (!variable) {
  // When the variable has a falsy value the condition is true.
}