Success

A successful outcome to the validation, with the validated value.

Properties

Link copied to clipboard
val value: T

The subject of the validation result.

Functions

Link copied to clipboard
operator fun component1(): T

Returns the value.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun orThrow()

Throws an Exception if the result is a failure.

Link copied to clipboard
open override fun toString(): String