select

fun <T> select(normal: T, future: T): T

Get future if using a future version, else normal.

inline fun <T> select(normal: T, future: (version: String) -> T): T

Get future if using a future version, else normal.

future is called with version.

infix fun <T> select(pair: Pair<T, T>): T

Get Pair.second if using a future version, else Pair.first.