safeMutable

fun <E> List<E>?.safeMutable(default: MutableList<E> = mutableListOf()): MutableList<E>

SAFE MUTABLE


fun <K, V> Map<K, V>?.safeMutable(default: MutableMap<K, V> = mutableMapOf()): MutableMap<K, V>