- Type Parameters:
T- the content of the result.
- All Superinterfaces:
OpResult<T>
Success resut.
-
Method Summary
-
Method Details
-
just
T just()Returns the result of the operation.- Returns:
- the result of the operation.
-
of
Creates a Just containing the given value.- Type Parameters:
T- the type of the value.- Parameters:
value- the value to contain.- Returns:
- a Just containing the value.
-
justOrNull
Description copied from interface:OpResultReturns the success value, or null if this is an error.- Specified by:
justOrNullin interfaceOpResult<T>- Returns:
- the success value, or null if this is an error.
-