whole_func_string: function get(czConfig) {
      const types = [];
  
      if (typeof czConfig.types === 'undefined') {
          return defaults;
      }
  
      for (const type of czConfig.types) {
          types.push(type.value);
      }
  
      return types;
  }
func_code_string: function get(czConfig) {
      const types = [];
  
      if (typeof czConfig.types === 'undefined') {
          return defaults;
      }
  
      for (const type of czConfig.types) {
          types.push(type.value);
      }
  
      return types;
  }
func_documentation_string: Gets the `value` for `type-enum` rule of commitlint config.
  
  @param {Object} czConfig A cz-customizable config.
  
  @returns {Object} The `value`.