kevinmost
07/14/2017, 6:28 PM.filter { it.someMember != null }.map { ..., and you want to use it.someMember in there. Sure, you could use other functional operators to get there and avoid !!, but this is the most straightforward way and doesn't involve extra copies of the collection