code: function(){
      for( let i = 0; i < type.enums.length; i++ ){
        let en = type.enums[ i ];
  
        if( en === value ){
          return {
            name: name,
            value: value,
            strValue: '' + value,
            bypass: propIsBypass
          };
        }
      }
  
      return null;
    }
docs: several types also allow enums