mainfunction

noun
UK /ˌmeɪn ˈfʌŋkʃən/
US /ˌmeɪn ˈfʌŋkʃən/

The main job that something is made to do.

The main function of a spoon is to help you eat soup.


OTHER MEANINGS

2. The most important part of a computer program that starts everything.

The programmer wrote the main function first so the game could begin.

3. The biggest or most important ceremony or event.

The wedding was the main function of the weekend.

4. The chief job of a body part or machine.

The main function of your heart is to pump blood.