main function
Also written: main, fun main()
The function called `main`, where every program starts running. In IntelliJ you run it with the green arrow beside `fun main()`.
Also written: main, fun main()
The function called `main`, where every program starts running. In IntelliJ you run it with the green arrow beside `fun main()`.