firstOrNull

fun firstOrNull(predicate: (T) -> Boolean): T?

Filters the entries list to the given predicate.

Return

a new list