Trying to understand bool with button push and millis

I hope its ok to ask a question off topic :slight_smile:
Im building a menu using updateMenu()

I can read the code on the guide i follow, but there is for example no explenation on why there suddenly is a
void updateMenu
part in the program.
I understand what it does but cant seem to google my way into the word to read about it.

The arduino programming docs doesnt show anything about updateMenu