listBy

fun <T> listBy(presence: PresenceState, transform: (Map.Entry<String, PresenceMap>) -> T): List<T>