Join Slack
Powered by
`fun Any.toUpperCaseOrBoo() = if (this is String) ...
# announcements
m
mg6maciej
04/02/2017, 12:00 PM
fun Any.toUpperCaseOrBoo() = if (this is String) toUpperCase() else "boo"
also works.
2
Views
Open in Slack
Previous
Next