index.js
function isEnabled (obj) {
  var enabled = false
  if (obj.isEnumType) {
    enabled = !this.theme.enums.hide
  } else if (obj.isInputType) {
    enabled = !this.theme.inputs.hide
  } else if (obj.isInterfaceType) {
    enabled = !this.theme.interfaces.hide
  } else if (obj.isUnionType) {
    enabled = !this.theme.unions.hide
  } else {
    enabled = true
  }
  return enabled
}
function isEnabled (obj) {
  var enabled = false
  if (obj.isEnumType) {
    enabled = !this.theme.enums.hide
  } else if (obj.isInputType) {
    enabled = !this.theme.inputs.hide
  } else if (obj.isInterfaceType) {
    enabled = !this.theme.interfaces.hide
  } else if (obj.isUnionType) {
    enabled = !this.theme.unions.hide
  } else {
    enabled = true
  }
  return enabled
}
function isEnabled ( obj ) { var enabled = false if ( obj . isEnumType ) { enabled = ! this . theme . enums . hide } else if ( obj . isInputType ) { enabled = ! this . theme . inputs . hide } else if ( obj . isInterfaceType ) { enabled = ! this . theme . interfaces . hide } else if ( obj . isUnionType ) { enabled = ! this . theme . unions . hide } else { enabled = true } return enabled }
get if the object type is enabled
get if the object type is enabled