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

Catmandu::Fix::Condition::is_false3pm

Only execute fixes if all path values are the boolean false, 0 or "false"

Usage

    if is_false(data.*.has_error)
        ...
    end
    # strict only matches a real bool, not 0 or "0" or "false"
    if is_false(data.*.has_error, strict: 1)
        ...
    end

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

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