find

fun <K, V> LiveData<out Map<K, V>>.find(predicate: (Map.Entry<K, V>) -> Boolean): Map.Entry<K, V>?

Finds the first entry from a LiveData's Map's value that matches the given predicate. Returns null if no entry is found or if the LiveData has no value.