obtain

inline fun <T> Bundle.obtain(key: String, noinline converter: (Any?) -> T? = { it as? T }): T?