4 ms·
Or the one I posted below: fun parseAndInc(number: String?) = number?.toInt()?.inc() ?: 0
by kodablah 8y ago
Or the one I posted below:
fun parseAndInc(number: String?) = number?.toInt()?.inc() ?: 0
- V-2 8y agoOh yeah, I forgot about inc().