Provided by: libcatmandu-marc-perl_1.281-1_all
NAME
Catmandu::Fix::Condition::marc_has_many - Test if a MARC has more than one (sub)field
SYNOPSIS
# marc_has_many(MARC_PATH) if marc_has_many('245') add_field('error.$append','more than one 245!') end
DESCRIPTION
Evaluate the enclosing fixes only if the MARC has more than one (sub)field.
METHODS
marc_has_many(MARC_PATH) Evaluates to true when the MARC has more than one (sub)field, false otherwise.
SEE ALSO
Catmandu::Fix::marc_has perl v5.36.0 2022-09-2Catmandu::Fix::Condition::marc_has_many(3pm)