server/drivers/index.js
function validateFunction(path, driver, functionName) {
  if (typeof driver[functionName] !== 'function') {
    console.error(`${path} missing .${functionName}() implementation`);
    process.exit(1);
  }
}
function validateFunction(path, driver, functionName) {
  if (typeof driver[functionName] !== 'function') {
    console.error(`${path} missing .${functionName}() implementation`);
    process.exit(1);
  }
}
function validateFunction ( path , driver , functionName ) { if ( typeof driver [ functionName ] !== 'function' ) { console . error ( ` ${ path } ${ functionName } ` ) ; process . exit ( 1 ) ; } }
Validate that the driver implementation has a function by name provided
@param {string} path
@param {object} driver
@param {string} functionName
Validate that the driver implementation has a function by name provided