adapt

abstract fun adapt(): T

Adapts the value to another type.