Shell_Casing

validateInputArray

Nov 18th, 2020
343
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import validateInputField from "./validate-input-field";
  2.  
  3. export default function validateInputArray([...inputArray]) {
  4.     inputArray.forEach(input => {
  5.         if(input && validateInputField(input)) {
  6.             return true;
  7.         }
  8.     })
  9. };
RAW Paste Data