Sealed
A Success<T, E> represents a successful computation that returns a value of type T.
Success<T, E>
T
E in Success<T, E> is the type of the error that would have been returned in case of failure. It's present only to allow type safety of the isFailure method.
E
isFailure
the success value type
Readonly
A
Success<T, E>
represents a successful computation that returns a value of typeT
.E
inSuccess<T, E>
is the type of the error that would have been returned in case of failure. It's present only to allow type safety of theisFailure
method.