Question: is if statement a function?
Answer: The if statement is one of the statements that control the execution flow. ... Ignore all the fluffy stuff like return values and syntax, as basically it is just a function that evaluates a boolean value and if it is true , then it executes some block of code.