getIntOrNull

Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key.