Mr.Docs
Mr.Docs The C++ Alliance
Download

Mr.Docs

    • Getting Started
      • Demo Gallery
      • Installation
      • Basic Usage
      • Migration Notes
    • 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
      • Reference
    • Extensions
      • Handlebars Extensions
      • Data-Driven Generators
      • Corpus Transforms
      • Script Generators
      • Antora Extensions
      • Mr.Docs as a Library
      • Library Reference
    • Contribute
      • Contributor Quickstart
      • Workflow & PR hygiene
      • Testing & fixtures
      • Options & architecture
      • Codebase tour
      • Docs changes
    • Design Notes
    • License
Mr.Docs develop
  • Mr.Docs
    • master
    • develop
    • 2026.9.4
    • v0.8.0
Version
  • master
  • develop
  • 2026.9.4
  • v0.8.0
Mr.Docs The C++ Alliance GitHub Toggle theme
Download
  • Mr.Docs
  • Reference
  • mrdocs
  • handlebars
  • helpers
  • and_fn
master develop 2026.9.4 v0.8.0

mrdocs::handlebars::helpers::and_fn

"and" helper function

Synopsis

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

bool
and_fn(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