All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.jetbrains.letsPlot.intern.standardizing.MapStandardizing.kt Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
/*
 * Copyright (c) 2021. JetBrains s.r.o.
 * Use of this source code is governed by the MIT license that can be found in the LICENSE file.
 */

package org.jetbrains.letsPlot.intern.standardizing

internal object MapStandardizing {
    fun standardize(map: Map<*, *>): Map {
        return map
            .filter { it.value != null }
            .map { it.key.toString() to Standardizing.standardizeValue(it.value) as Any }.toMap()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy