The when expression in Kotlin is much better than a switch ... return a type compatible with the type of the argument of the when construct.
確定! 回上一頁