getDoubleOrNull

fun Map<String, <Error class: unknown class>>.getDoubleOrNull(key: String): Double?

The $key value as a Double, or null if absent or not a number.