Posts by Vinicius Rangel • 71 points
1 post
-
7
votes4
answers3000
viewsA: Equivalent to the conditional or ternary operator in Kotlin
In Kotlin these structures are used as expressions tb: Log.wtf(GOT, if(valirianSteel == 0 && glassOfDragon==0) "Run!" else "Run too!");
kotlinanswered Vinicius Rangel 71