lib/randoport.js
function inBlackList(port, additionalPorts) {
  const blacklist = [4200].concat(additionalPorts || []);
  return blacklist.indexOf(port) === -1 ? false : true;
}
function inBlackList(port, additionalPorts) {
  const blacklist = [4200].concat(additionalPorts || []);
  return blacklist.indexOf(port) === -1 ? false : true;
}
function inBlackList ( port , additionalPorts ) { const blacklist = [ 4200 ] . concat ( additionalPorts || [ ] ) ; return blacklist . indexOf ( port ) === - 1 ? false : true ; }
Checks if port is in blacklist
@method inBlackList
@param  {Number} port we are checking
@return {Number} additional array of blocked ports
Checks if port is in blacklist