Package-level declarations

Types

Link copied to clipboard
class Constraint(val satisfied: Boolean, var validatable: Validatable<*>) : ConstraintDescriptor
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> Validatable<T>.constrain(block: (value: T) -> Boolean): Constraint
Link copied to clipboard
inline fun <T> Validatable<T?>.constrainIfNotNull(block: (value: T) -> Boolean): Constraint
Link copied to clipboard
infix inline fun Constraint.otherwise(block: () -> String): Constraint
Link copied to clipboard
infix inline fun Constraint.withPath(block: PathBuilder.(Path) -> Path): Constraint