converted

inline fun <T : Any> converted(): T?

Deprecated

Use asA() instead

Replace with

tryGet { asA(type) }

Convenient shortcut to convertTo, which returns null in case of failure.