Companion

Functions

Link copied to clipboard
fun <E, T> failure(reason: T): TransformationResult<E, T>

Creates a TransformationFailure object with the given reason.

Link copied to clipboard
fun <E, T> success(value: E): TransformationResult<E, T>

Creates a TransformationSuccess object with the given value.