Delegate Pururin.io

This commit is contained in:
NerdNumber9
2019-08-08 13:31:47 -04:00
parent 68de7b516e
commit 5195cb8eda
7 changed files with 113 additions and 34 deletions
+5
View File
@@ -0,0 +1,5 @@
package exh.util
fun List<String>.trimAll() = map { it.trim() }
fun List<String>.dropBlank() = filter { it.isNotBlank() }
fun List<String>.dropEmpty() = filter { it.isNotEmpty() }