If you do not define the return type of a function, the compiler will default it to be Unit. Unit is the type of a singleton value which is also named Unit. You can see this by navigating to definition of Unit in IntelliJ — it’s defined in the Kotlin standard library.
The formal parameter list of a function is a sequence of zero or more types. A sequence of zero parameters is not the same as a sequence of one parameter of type Unit.