Functions of ATtiny85

Hello,
I build PWM voltage regulator for an alternator and I found a page which describes how to do that using Arduino nano. I'd like to use ATtiny85 instead, but the code contains functions like if() and for() and I'm not sure if these are supported.

You will always be able to use things like if() and for(), no matter which microcontroller you are using with the Arduino IDE. You may find other limitations to using the ATtiny85 since not all libraries support that chip.

Thank you.