filterIsInstance function

I didn’t understand the “refied” type parameter of “filterIsInstance” function when I read the documentation because shouldn’t the “refied” used inside inline function when we need to access type parameter at runtime?
Link: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/filter-is-instance.html![Refied|690x445](upload://evnEpYPoDoqqR3W3iJajPwI6V2y.png)

1 Like

Actually, filterIsInstance() is inline function. You can check it by yourself by clicking on source links. I don’t know why it is documented as not inline.

1 Like