This commit is contained in:
Vladimir Krivosheev
2015-11-04 15:40:22 +01:00
parent abe08aa008
commit c0fbc681a6
@@ -32,4 +32,6 @@ fun <K, V> MutableMap<K, MutableList<V>>.putValue(key: K, value: V) {
else {
list.add(value)
}
}
}
fun List<*>?.isNulOrEmpty() = this == null || isEmpty()