result

A serializable Result data type, wrapped around Either<L,R>

License

License

Categories

Categories

JavaScript Languages
GroupId

GroupId

tz.co.asoft
ArtifactId

ArtifactId

result-js
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

klib
Description

Description

result
A serializable Result data type, wrapped around Either<L,R>
Project URL

Project URL

https://github.com/aSoft-Ltd/result
Source Code Management

Source Code Management

https://github.com/aSoft-Ltd/result

Download result-js

Dependencies

compile (3)

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

Project Modules

There are no modules declared in this project.

Either

badge badge badge badge badge

A Serializable Result datatype

Samples

val result1 : Result<Person> = Success(Person("Andy"))

Setup

dependencies {
    implementation("tz.co.asoft:result:0.0.1")
}
tz.co.asoft

asoft

Versions

Version
0.0.1