Kotlin Native has the same language syntax and includes the standard library. Hence, the main function in Kotlin Native looks the same as the main function in JVM or JS. It is similar to the following syntax:
// Starting point fun main(args: Array<String>) { // Rest of code over here.. }
The main function takes args, which contains the arguments from the command line.