commonMain.neat.Validity.kt Maven / Gradle / Ivy
package neat
sealed interface Validity {
val value: T
fun map(transformer: (T) -> R): Validity
fun getOrThrow(): T
}
package neat
sealed interface Validity {
val value: T
fun map(transformer: (T) -> R): Validity
fun getOrThrow(): T
}