Catmandu::Fix::Condition::marc_has(3pm)

Catmandu::Fix::Condition::marc_has3pm

Test if a marc (sub)field exists

Usage

   # marc_has(MARC_PATH)
   unless marc_has('245')
        add_field('error.$append','no 245 value!')
   end

Overview

Evaluate the enclosing fixes only if the MARC (sub)field exists.

Methods

marc_has(MARC_PATH)

Evaluates to true when the MARC_PATH values exists, false otherwise.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10–11
  2. 12
  3. 13

From libcatmandu-marc-perl 1.320-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.