Join Slack
Powered by
Actually, in Kotlin, you don't have to, you can do...
# tornadofx
e
edvin
12/12/2017, 7:18 PM
Actually, in Kotlin, you don't have to, you can do
(db.getContent(TILES) as? DragTile)?.let{}
. The code in let will only run if you have a DragTile (will be passed as a parameter to the function)
3
Views
Open in Slack
Previous
Next