Join Slack
Communities
Powered by
You can also replace `player1.contains(it)` with `...
# announcements
d
diesieben07
01/18/2018, 2:29 PM
You can also replace
player1.contains(it)
with
it in player1
.
👍 1
s
Shawn
01/18/2018, 2:32 PM
assuming the object’s implementation of
.contains
is marked
operator
, anyhow
d
diesieben07
01/18/2018, 2:32 PM
Or comes from Java. 😄
Open in Slack
Previous
Next