Created
December 22, 2019 13:05
-
-
Save zsoltk/4e5a921fec43a667b4bb7a3585e25050 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
fun pushAndDropNested(element: T) { | |
elements.last().children.clear() | |
push(element) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment