Covid brain has struck!

Here is a link to 'if' on the reference page. It's worth having a look...
https://www.arduino.cc/reference/en/language/structure/control-structure/if/