`count` is defined for `Iterable`, so it goes thro...
# announcements
o
count
is defined for
Iterable
, so it goes through iterator linearly and counts items, with an optional predicate. When
Iterable
happens to be a
Collection
known statically, it just calls
size
.
🍻 1
🌟 1