@rbran100 
"if" is not a function.  It shouldn't look like one.