lib/berkeley_library/tind/mapping/tind_field_util.rb
def tindfield_existed?(field, fields)
          return false unless field_has_rule?(field)

          field_rule = rule(field)
          mapping_to_tag = field_rule.pre_existed_tag
          return false unless mapping_to_tag

          map_to_tag_existed_in_fields?(field, fields, mapping_to_tag)
        end
# tag - regular alma field
# referred tag - got tag from subfield6 value of a 880 field
# nil rule caused by nil referred tag - eg. 880 subfild6 has a value in wrong format
regular alma field
referred tag - got tag from subfield6 value of a 880 field
nil rule caused by nil referred tag - eg. 880 subfild6 has a value in wrong format
regular alma field referred tag - got tag from subfield6 value of a 880 field nil rule caused by nil referred tag - eg . 880 subfild6 has a value in wrong format
def tindfield_existed?(field, fields)
          return false unless field_has_rule?(field)
          field_rule = rule(field)
          mapping_to_tag = field_rule.pre_existed_tag
          return false unless mapping_to_tag
          map_to_tag_existed_in_fields?(field, fields, mapping_to_tag)
        end
def tindfield_existed? ( field , fields ) return false unless field_has_rule? ( field ) field_rule = rule ( field ) mapping_to_tag = field_rule . pre_existed_tag return false unless mapping_to_tag map_to_tag_existed_in_fields? ( field , fields , mapping_to_tag ) end
tag - regular alma field
referred tag - got tag from subfield6 value of a 880 field
nil rule caused by nil referred tag - eg.
tag - regular alma field referred tag - got tag from subfield6 value of a 880 field nil rule caused by nil referred tag - eg .
field
fields