# filterIsInstance function

**URL:** <https://discuss.kotlinlang.org/t/filterisinstance-function/22746>\
**Category:** Uncategorized\
**Created:** [August 19, 2021, 7:17pm UTC](https://discuss.kotlinlang.org/t/filterisinstance-function/22746 "2021-08-19T19:17:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coodin](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@coodin](https://discuss.kotlinlang.org/u/coodin)\
**Post date:** [August 19, 2021, 7:17pm UTC](https://discuss.kotlinlang.org/t/filterisinstance-function/22746/1 "2021-08-19T19:17:51Z")

</div>

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)](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/filter-is-instance.html!%5BRefied%7C690x445%5D(upload://evnEpYPoDoqqR3W3iJajPwI6V2y.png))

---

<div class="post-metadata">

**Author:** ![broot](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@broot](https://discuss.kotlinlang.org/u/broot)\
**Post date:** [August 19, 2021, 7:25pm UTC](https://discuss.kotlinlang.org/t/filterisinstance-function/22746/2 "2021-08-19T19:25:48Z")

</div>

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.
