The condition in an if statement must evaluate to true or false. You'll use comparison operators like >, <, ==, !=, >=, and <=. I'll show you examples: x > 10 is true when x is greater than 10.
name == "Alice" is true when name equals Alice. score != 0 is true when score is not zero. You can also use boolean variables directly: if (isReady) runs when isReady is true. Any expression that produces a boolean value works as a condition.