dmitry.petrov
pairs.mapNotNull { it.takeIf { it.second != null }?.let { it as Pair<String, Double> } }.toMap()
takeIf