index.js
function getDriver(name) {
  if (!this.drivers[name]) {
    log.error(new Error('Driver "' + name + '" is not registered.'));
    return null;
  }
  return this.drivers[name];
}
function getDriver(name) {
  if (!this.drivers[name]) {
    log.error(new Error('Driver "' + name + '" is not registered.'));
    return null;
  }
  return this.drivers[name];
}
function getDriver ( name ) { if ( ! this . drivers [ name ] ) { log . error ( new Error ( 'Driver "' + name + '" is not registered.' ) ) ; return null ; } return this . drivers [ name ] ; }
Returns registered driver
@param {string} name Registered driver name
@return {object|null} Damson driver object
Returns registered driver