If statements work essentially the same way that they would in any other language, where you have the keyword if, then in parenthesis you specify the predicate that's going to return a boolean value, either true or false and then the body of the if statement that executes, if that evaluates to true.