server/drivers/index.js
function validateArray(path, driver, arrayName) {
  const arr = driver[arrayName];
  if (!Array.isArray(arr)) {
    console.error(`${path} missing ${arrayName} array`);
    process.exit(1);
  }
}
function validateArray(path, driver, arrayName) {
  const arr = driver[arrayName];
  if (!Array.isArray(arr)) {
    console.error(`${path} missing ${arrayName} array`);
    process.exit(1);
  }
}
function validateArray ( path , driver , arrayName ) { const arr = driver [ arrayName ] ; if ( ! Array . isArray ( arr ) ) { console . error ( ` ${ path } ${ arrayName } ` ) ; process . exit ( 1 ) ; } }
Validate that the driver implementation has an array by name provided
@param {string} path
@param {object} driver
@param {string} arrayName
Validate that the driver implementation has an array by name provided