Catmandu::Fix::Condition::marc_has_many3pm
Test if a marc has more than one (sub)field
Usage
# marc_has_many(MARC_PATH)if marc_has_many('245')add_field('error.$append','more than one 245!')end
Overview
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.
Releases
4 releases since Debian 10 (Buster); the text changed 2 times.