Question: is if then a loop?
Answer: If-else is a programming construct designed to be a conditional block. Looping constructs are for, for each, while, etc. but yes if you really for theoretical purposes wish to use if else as a looping block then you can, by making use of goto statement.