Mr.Docs The C++ Alliance GitHub Repo
  • Mr.Docs
  • Reference
  • mrdocs
  • handlebars
  • helpers
  • andFn
master develop 2026.11.10 2026.9.29 2026.9.4 v0.8.0
Mr.Docs The C++ Alliance GitHub Repo

Mr.Docs

    • Getting Started
      • Demo Gallery
      • Installation
      • Basic Usage
      • Migration Notes
      • Bootstrap Reference
    • Commands
      • Overview
      • Block Commands
      • Metadata Commands
      • Inline Commands
      • Reference
    • Configuration
      • Overview
      • Inputs
      • Filters
      • Extraction
      • Output
      • Diagnostics
      • Reference
    • Generators
      • Overview
      • HTML
      • AsciiDoc
      • JSON
      • XML
      • No-op
      • Data-Driven Generators
      • Handlebars Extensions
      • Reference
    • Pipeline Extensions
      • Overview
      • Defining Extensions
      • Corpus Transforms
      • Programmatic Generators
    • Integrations
      • Antora Extensions
      • Mr.Docs as a Library
      • Library Reference
    • Contribute
      • Quickstart
      • Developer Workflow
      • Codebase Layout
        • src/
        • include/
        • libs/
        • tests/
        • examples/
        • docs/
        • data/
        • tools/
        • utils/
      • Docs changes
      • Testing & fixtures
      • Project Invariants
        • Documentation
        • Code Generation
        • Layout
        • Build Invariants
        • Naming and Layout
        • Formatting
        • C++ Conventions
        • Binary Compatibility
        • Git Repository
      • Utilities
        • Bootstrap
      • How to Contribute a Feature

mrdocs::handlebars::helpers::andFn

"and" helper function

Synopsis

Declared in <mrdocs/Handlebars/Helpers/Logical.hpp>

bool
andFn(dom::Array const& args);

Description

The "and" helper returns true if all of the values are truthy.

Return Value

True if all of the values are truthy, false otherwise.

Parameters

Name

Description

args

The values to test

Created with MrDocs