Join Slack
Powered by
JB: Would be nice if we could apply `map` to `Any`...
# rx
a
artem_zin
07/26/2016, 9:18 PM
JB: Would be nice if we could apply
map
to
Any
, so I could write:
Copy code
string.filter { it.isDigit() }.length.map { it >= min && it <= max }
4
Views
Open in Slack
Previous
Next