open fun <R> select(when1: (T1) -> R, when2: (T2) -> R, when3: (T3) -> R, when4: (T4) -> R, when5: (T5) -> R, when6: (T6) -> R, when7: (T7) -> R, when8: (T8) -> R, when9: (T9) -> R, when10: (T10) -> R): R Exhaustively handles the stored value by delegating to the matching lambda.