Either
A Serializable Result datatype
Samples
val result1 : Result<Person> = Success(Person("Andy"))
Setup
dependencies {
implementation("tz.co.asoft:result:0.0.1")
}
| License |
License |
|---|---|
| Categories |
CategoriesJavaScript Languages |
| GroupId | GroupIdtz.co.asoft |
| ArtifactId | ArtifactIdresult-js |
| Last Version | Last Version0.0.1 |
| Release Date | Release Date |
| Type | Typeklib |
| Description |
Descriptionresult
A serializable Result data type, wrapped around Either<L,R>
|
| Project URL |
Project URL |
| Source Code Management |
Source Code Management |
| Filename | Size |
|---|---|
| result-js-0.0.1.pom | |
| result-js-0.0.1-sources.jar | 3 KB |
| result-js-0.0.1-javadoc.jar | 261 bytes |
| Browse |
| Group / Artifact | Type | Version |
|---|---|---|
| org.jetbrains.kotlin : kotlin-stdlib-js | jar | 1.4.21 |
| tz.co.asoft : either-js | jar | 0.0.1 |
| org.jetbrains.kotlin : kotlin-stdlib-common | jar | 1.4.21 |
A Serializable Result datatype
val result1 : Result<Person> = Success(Person("Andy"))
dependencies {
implementation("tz.co.asoft:result:0.0.1")
}