You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to provide the ?. operator as syntactic sugar for optional's map and flatMap. Instead of writing optionalComponent.map { component -> component.name }, we should be able to write optionalComponent?.name.
It would be nice to provide the
?.
operator as syntactic sugar for optional'smap
andflatMap
. Instead of writingoptionalComponent.map { component -> component.name }
, we should be able to writeoptionalComponent?.name
.This was requested by @AaronGreenhouse.
The text was updated successfully, but these errors were encountered: