_computePatchSetDisabled(patchNum, basePatchNum) {
      if (basePatchNum === 'PARENT') { return false; }

      return this.findSortedIndex(patchNum, this.revisions) <=
          this.findSortedIndex(basePatchNum, this.revisions);
    }
/**
     * Determines if a patch number should be disabled based on value of the
     * basePatchNum from gr-file-list.
     * @param {number} patchNum Patch number available in dropdown
     * @param {number|string} basePatchNum Base patch number from file list
     * @return {boolean}
     */
Determines if a patch number should be disabled based on value of the
basePatchNum from gr-file-list.
@param {number} patchNum Patch number available in dropdown
@param {number|string} basePatchNum Base patch number from file list
@return {boolean}
Determines if a patch number should be disabled based on value of the basePatchNum from gr - file - list . @param { number } patchNum Patch number available in dropdown @param { number|string } basePatchNum Base patch number from file list @return { boolean }
_computePatchSetDisabled(patchNum, basePatchNum) {
      if (basePatchNum === 'PARENT') { return false; }
      return this.findSortedIndex(patchNum, this.revisions) <=
          this.findSortedIndex(basePatchNum, this.revisions);
    }
_computePatchSetDisabled ( patchNum , basePatchNum ) { if ( basePatchNum === 'PARENT' ) { return false ; } return this . findSortedIndex ( patchNum , this . revisions ) <= this . findSortedIndex ( basePatchNum , this . revisions ) ; }
Determines if a patch number should be disabled based on value of the
 basePatchNum from gr-file-list.
Determines if a patch number should be disabled based on value of the basePatchNum from gr - file - list .