adaptValue

fun <T> adaptValue(adapter: Adapter<T>, value: T): Any?