Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlinJVM bytecode for inline functionsSingle-choice MCQ

What does the reified keyword let an inline function do that a normal generic cannot, and how is it achieved at the bytecode level given JVM type erasure?

inline fun <reified T> isInstance(x: Any): Boolean = x is T