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

commonMain.neat.Valid.kt Maven / Gradle / Ivy

The newest version!
package neat

data class Valid(
    override val value: T
) : Validity {
    override fun getOrThrow(): T = value
    override fun  map(transformer: (T) -> R) = Valid(transformer(value))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy