Last active
August 17, 2016 22:40
-
-
Save travisdachi/4eee4741fc8fbcb6f8c1a26fba711b26 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
| krefson["someKey"] = someData //put | |
| val data = krefson["someKey", defalutValue] //get with default value | |
| val anotherData: SomeData? = krefson["someOtherKey"] //get nullable | |
| if ("someKey" in krefson) //check if "someKey" is exist | |
| krefson.remove("someKey") //simply remove a key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment