This isn't a straight up coding question, there's no specific code involved. It's more of a general question that I've been struggling with to understand.

What is the difference between an if statement, and an if statement for validity check/variable guard check? 

I ask this because my instructor told us to write a function without using if statements(except for validity check/variable guard check) and I'm a little confused on the difference between them. Thanks!