> For the complete documentation index, see [llms.txt](https://www.strickland.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.strickland.io/composition/validating-array-elements.md).

# Validating Array Elements

Validators can easily validate scalar values, taking a single value and producing a validation result. It's common to need to validate arrays of values too, where every array element needs to be validated against a validator (or an array of validators).

While custom validators can easily be created for validating arrays and their elements, Strickland also provides a built-in [`arrayElements`](/composition/validating-array-elements/arrayelements.md) validator to make array element validation easy.
