Validation

Type validation is the first and most important check. But it is possible to add additional validations.

For example, one might want numbers, but only odd numbers.