lib/entry.js
function getAliases(index) {
  if (this._aliases === undefined) {
    var owner = this;
    this._aliases = _(getValue(this, 'alias'))
      .split(/,\s*/)
      .compact()
      .sort(util.compareNatural)
      .map(function(value) { return new Alias(value, owner); })
      .value();
  }
  var result = this._aliases;
  return index === undefined ? result : result[index];
}
function getAliases(index) {
  if (this._aliases === undefined) {
    var owner = this;
    this._aliases = _(getValue(this, 'alias'))
      .split(/,\s*/)
      .compact()
      .sort(util.compareNatural)
      .map(function(value) { return new Alias(value, owner); })
      .value();
  }
  var result = this._aliases;
  return index === undefined ? result : result[index];
}
function getAliases ( index ) { if ( this . _aliases === undefined ) { var owner = this ; this . _aliases = _ ( getValue ( this , 'alias' ) ) . split ( / ,\s* / ) . compact ( ) . sort ( util . compareNatural ) . map ( function ( value ) { return new Alias ( value , owner ) ; } ) . value ( ) ; } var result = this . _aliases ; return index === undefined ? result : result [ index ] ; }
Extracts the entry's `alias` objects.

@memberOf Entry
@param {number} index The index of the array value to return.
@returns {Array|string} Returns the entry's `alias` objects.
Extracts the entry s alias objects .