How to implement validation using express-validator for the nested array of object
form-data:
emergency_contact[0].name:Jane Doe
I’m trying to use express-validators in a function
Everyone says to use an array but I want to see how to would do it in a function.