Hacker News new | ask | show | jobs
by mmisu 2707 days ago
Are you confusing .count with .contains ?
1 comments

I'm saying that map.contains(x) == bool(map.count(x))
+1 I see what you mean now.
Great! :) My initial comment wasn't clear, sorry for that.