Kotlin, Android, Software Development, Kotlin Multiplatform, Java.
type safety, as it’s possible to pass any instance of the underlying type as a value. Below is an example of this where we define a new type alias for an integer to represent a distance unit. The convertMileToKilometer(miles: Mile) function accepts a Mile type as an input argument and returns a