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

commonMain.co.touchlab.skie.util.CollisionFreeIdentifier+Named.kt Maven / Gradle / Ivy

The newest version!
package co.touchlab.skie.util

import org.jetbrains.kotlin.descriptors.Named
import org.jetbrains.kotlin.name.Name

fun String.collisionFreeIdentifier(existingIdentifiers: Collection): Name =
    collisionFreeIdentifier(existingIdentifiers.map { it.name.asString() }).let { Name.identifier(it) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy