lib/tessel-utils.js
function(portKey) {
      var result = this.isValidPort(portKey) ? tessel.port[this.validLEDNames.indexOf(portKey)] : null;

      return result;
    }
function(portKey) {
      var result = this.isValidPort(portKey) ? tessel.port[this.validLEDNames.indexOf(portKey)] : null;

      return result;
    }
function ( portKey ) { var result = this . isValidPort ( portKey ) ? tessel . port [ this . validLEDNames . indexOf ( portKey ) ] : null ; return result ; }
Return the Tessel port, if the given portKey is valid; otherwise, return null.
Return the Tessel port if the given portKey is valid ; otherwise return null .