Kotlin / kotlin-by-example

The sources of Kotlin by Example.
https://play.kotlinlang.org/byExample/overview
MIT License
460 stars 897 forks source link

Add containsRed() check for yellow #151

Closed ossner closed 3 years ago

ossner commented 3 years ago

This will make it more clear that the operation carried out in containsRed() is a bitwise and operation and not something else. Also, it seems that yellow doesn't really serve a purpose otherwise.

p7nov commented 3 years ago

Thanks!