export default function isValid(error) {

}

@@ -34,11 +34,142 @@
 rror) %7B%0A
+  if ( !Array.isArray(error) ) %7B%0A    return !error;%0A  %7D%0A  return error.reduce(( valid, errorValue ) =%3E valid && !errorValue, true);
 %0A%7D%0A

Add functionality to allow for arrays of error values