bdawg.io
filter
val myList: List<SomeType?> myList.filter { it is SomeType }.map { it as SomeType }.doSomething()