Composes multiple check functions (which take a value of type T and
return a Validation<T, NonEmptyArray<E>>) and returns a single function
that executes the check functions in sequence, and accumulates all
obtained errors into a NonEmptyArray.
If no check functions fail, the composed validation function returns
Ok with the originally passed value.
Composes multiple check functions (which take a value of type
Tand return aValidation<T, NonEmptyArray<E>>) and returns a single function that executes the check functions in sequence, and accumulates all obtained errors into aNonEmptyArray.If no check functions fail, the composed validation function returns
Okwith the originally passed value.