7 lines
197 B
Plaintext
Vendored
7 lines
197 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
// INTENTION_TEXT: "Replace with 'count{}'"
|
|
// IS_APPLICABLE_2: false
|
|
fun foo(list: List<String>): Int {
|
|
val <caret>count = 1 + list.count { it.isNotBlank() }
|
|
return count
|
|
} |