Closed mattmoore closed 5 years ago
@tieskedh @mattmoore I had no idea! This is so cool, is this a new Kotlin function?
@tieskedh @ahinchman1 Nice! I felt like I was going crazy with the need for a double transform on filters. Looks like this has been around for a little bit. Kotlin 1.2 and 1.3 has it.
@mattmoore I think you have to rebase this PR
little hint:()`
filter { it is kastree.ast.Node.Decl.Structured }.map { it as kastree.ast.Node.Decl.Structured } is the same as
filterIsInstance