How to validate if the value of an array is an email?

hi, i have a question…
Is it possible to validate the value of an array if it is an email or not?

Use the “email” validator. See the full documentation at

Here’s is the link to the correct docs for the version used by AdonisJs validator

Also, here’s the code snippet to do that.

  'emails.*': 'email'
1 Like

thanks for your answer, it does work now