Package-level declarations

Types

Link copied to clipboard
class Validatable<out T>
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
inline fun <T, R> Validatable<T>.map(transform: (T) -> R): Validatable<R>

Returns a Validatable wrapping the result of the given transform function. The latter is applied to the wrapped value of the Validatable receiver.

Link copied to clipboard
@JvmName(name = "nullableValidatableOfFunction")
fun <T, V> Validatable<T>.validatableOf(getter: (T & Any) -> V): Validatable<V?>
@JvmName(name = "nullableValidatableOfProperty")
fun <T, V> Validatable<T>.validatableOf(getter: KProperty1<T & Any, V>): Validatable<V?>
fun <T : Any, V> Validatable<T>.validatableOf(getter: (T) -> V): Validatable<V>