Wall sensing robot code help

Based on that...what is the "if" in the if statement. I guess the variable, correct?