Inspection/Intention replace size check with 'isNotEmpty' and 'isEmpty' #KT-13937 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5fa561eb70
commit
32b7b5a092
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
val arrayOf = arrayOf(1, 2, 3)
|
||||
arrayOf.size<caret> > 0
|
||||
}
|
||||
Reference in New Issue
Block a user