Validation functions

Validation functions are the functions in a validation script that check for a condition. The result is a Boolean: true or false.

To make the validation script more readable, there are many out-of-the-box validation functions. The built-in validation functions not only handle the validation, but they also provide a way to produce meaningful error messages. For more advanced functions, you need aClosures.