commonMain.Either.kt Maven / Gradle / Ivy
package com.javiersc.either
/**
* Left is usually used to represent the Failure or Error Right is usually used to represent the
* Success
*/
public sealed class Either {
public data class Left(val left: L) : Either()
public data class Right(val right: R) : Either()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy