helpers/helpers.js
function kindInThisContext (options) {
  if (this.kind === 'function' && this.memberof) {
    return 'method'
  } else if (this.kind === 'member' && !this.isEnum && this.memberof) {
    return 'property'
  } else if (this.kind === 'member' && this.isEnum && this.memberof) {
    return 'enum property'
  } else if (this.kind === 'member' && this.isEnum && !this.memberof) {
    return 'enum'
  } else if (this.kind === 'member' && this.scope === 'global') {
    return 'variable'
  } else {
    return this.kind
  }
}
function kindInThisContext (options) {
  if (this.kind === 'function' && this.memberof) {
    return 'method'
  } else if (this.kind === 'member' && !this.isEnum && this.memberof) {
    return 'property'
  } else if (this.kind === 'member' && this.isEnum && this.memberof) {
    return 'enum property'
  } else if (this.kind === 'member' && this.isEnum && !this.memberof) {
    return 'enum'
  } else if (this.kind === 'member' && this.scope === 'global') {
    return 'variable'
  } else {
    return this.kind
  }
}
function kindInThisContext ( options ) { if ( this . kind === 'function' && this . memberof ) { return 'method' } else if ( this . kind === 'member' && ! this . isEnum && this . memberof ) { return 'property' } else if ( this . kind === 'member' && this . isEnum && this . memberof ) { return 'enum property' } else if ( this . kind === 'member' && this . isEnum && ! this . memberof ) { return 'enum' } else if ( this . kind === 'member' && this . scope === 'global' ) { return 'variable' } else { return this . kind } }
returns a more appropriate 'kind', depending on context
@return {string}
returns a more appropriate kind depending on context