2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
6
Task/Empty-string/Kotlin/empty-string.kotlin
Normal file
6
Task/Empty-string/Kotlin/empty-string.kotlin
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
val s = ""
|
||||
println(s.isEmpty()) // true
|
||||
println(s.isNotEmpty()) // false
|
||||
println(s.length) // 0
|
||||
println(s.none()) // true
|
||||
println(s.any()) // false
|
||||
Loading…
Add table
Add a link
Reference in a new issue