lib/Slave.js
/**
 * True if the message recieved is a "slave exception message", or one sent by a slave process.
 * @param {Object} m The message data.
 * @return {Boolean} True if the message is a slave exception message, false otherwise.
 */
True if the message recieved is a "slave exception message", or one sent by a slave process.
@param {Object} m The message data.
@return {Boolean} True if the message is a slave exception message, false otherwise.
True if the message recieved is a " slave exception message " or one sent by a slave process . @param { Object } m The message data . @return { Boolean } True if the message is a slave exception message false otherwise .
function isSlaveExceptionMessage(m) {
  if (typeof m.sent === 'number'
    && m.title === 'SlaveIOException'
    && typeof m.error === 'object'
    && typeof m.from === 'number'
  ) {
    return true;
  }
  return false;
}
function isSlaveExceptionMessage ( m ) { if ( typeof m . sent === 'number' && m . title === 'SlaveIOException' && typeof m . error === 'object' && typeof m . from === 'number' ) { return true ; } return false ; }
True if the message recieved is a "slave exception message", or one sent by a slave process.
True if the message recieved is a " slave exception message " or one sent by a slave process .