My project validates a user's registration form by going through a series of methods.
Each step of the process adds another item to an array called errorLog. If a step is successful, its corresponding item will be empty or blank. If something went awry, a string of text describing the problem will be inserted into the array.
Is there an easy way to determine whether every single item in the errorLog array is empty/blank, indicating that no errors occurred, allowing the site to process the registration?