quick question kotliners.
I come with a JS background and I’m used to do…
Copy code
if(condition) {
// do something
}
I don’t include an else part cuz I really don’t have anything to do. Two things here
• What would be the kotlin idiomatic way to do this?
• As far as testing goes, I believe that first answer will help me to increase code coverage.