The Unit type in Kotlin is the equivalent to the void type in Java . Or, if you prefer, is the result value of any statement (for example println() ).
The Unit type in Kotlin is the equivalent to the void type in Java . Or, if you prefer, is the result value of any statement (for example println() ).