Join Slack
Powered by
I'm not sure if it was mentioned before, but it wo...
# language-proposals
m
michael.hunger
11/25/2016, 1:34 AM
I'm not sure if it was mentioned before, but it would be cool if filter operation on a type could also carry over the type information for a smart-cast aka.
users.filter{ it is Person }.map{ p -> p.age }
Open in Slack
Previous
Next