Validatable
Functions
Iterates over each element of this object and wraps them with a Validatable before passing them to the block.
Returns the first element, wrapped in Validatable.
Returns the element at the specified index in the list, wrapped in a Validatable.
The validatable Array must have a size within the provided range when this constraint is applied.
The validatable Collection must have a size within the provided range when this constraint is applied.
The validatable Map must have a size within the provided range when this constraint is applied.
The validatable Collection must have a size equal to size when this constraint is applied.
The validatable Collection must have a size greater than size when this constraint is applied.
The validatable Array must have a size greater than or equal to size when this constraint is applied.
The validatable Collection must have a size greater than or equal to size when this constraint is applied.
The validatable Collection must have a size lower than size when this constraint is applied.
The validatable Collection must have a size lower than or equal to size when this constraint is applied.
The validatable Collection must have a size different from size when this constraint is applied.
The validatable Map must contain the provided key when this constraint is applied.
The validatable Map must contain the provided value when this constraint is applied.
The validatable Array must be empty when this constraint is applied.
The validatable Collection must be empty when this constraint is applied.
The validatable Map must be empty when this constraint is applied.
The validatable value must be equal to other when this constraint is applied.
The validatable value must be identical to other when this constraint is applied.
The validatable value must be an instance of type parameter R when this constraint is applied.
The validatable Duration must be negative when this constraint is applied.
The validatable Duration must be negative or zero when this constraint is applied.
The validatable Map must not contain the provided key when this constraint is applied.
The validatable Map must not contain the provided value when this constraint is applied.
The validatable Array must not be empty when this constraint is applied.
The validatable Collection must not be empty when this constraint is applied.
The validatable Map must not be empty when this constraint is applied.
The validatable value must be different from other when this constraint is applied.
The validatable value must not be identical to other when this constraint is applied.
The validatable value must not be an instance of type parameter R when this constraint is applied.
The validatable value must not be null when this constraint is applied.
The validatable value must be null when this constraint is applied.
The validatable Duration must be positive when this constraint is applied.
The validatable Duration must be positive or zero when this constraint is applied.
Returns an iterator over the elements of this object. Each element is wrapped with a Validatable.
Returns the last element, wrapped in Validatable.
Returns a Validatable wrapping the result of the given transform function. The latter is applied to the wrapped value of the Validatable receiver.
Registers the provided constraint if it's unsatisfied.
Registers the provided constraint violation.
Runs all the necessary checks before registering a constraint.
Duplicates the Validatable with the new provided value. The path remains the same.