You can also replace `player1.contains(it)` with `...
# announcements
d
You can also replace
player1.contains(it)
with
it in player1
.
👍 1
s
assuming the object’s implementation of
.contains
is marked
operator
, anyhow
d
Or comes from Java. 😄