Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlintype erasure on the JVMSingle-choice MCQ

How does a `reified` type parameter circumvent erasure, and what is the cost reflected in the generated bytecode?

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