Created
November 29, 2018 00:14
-
-
Save cassiozen/cad1b1a8ee7b7ba369e85a46798abdc8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val colors = mutableMapOf( | |
"red" to 0xff0000, | |
"green" to 0x00ff00, | |
"blue" to 0x0000ff, | |
"cyan" to 0x00ffff, | |
"magenta" to 0xff00ff, | |
"yellow" to 0xffff00 | |
) | |
colors.contains("yellow") // true | |
colors.get("yellow") // 0xffff00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment