filter

fun filter(presence: PresenceState, predicate: (Map.Entry<String, PresenceMap>) -> Boolean?): PresenceState