Mr.Docs The C++ Alliance GitHub Repo
  • Mr.Docs
  • Reference
  • mrdocs
  • js
  • operator_or-0e1
master develop 2026.11.10 2026.9.29 2026.9.4 v0.8.0
Mr.Docs The C++ Alliance GitHub Repo

Mr.Docs

    • Home
    • Demos
    • Installation
    • Getting Started
    • The Configuration File
    • Documenting the Code
    • Generators
    • Design Notes
    • Library Reference
    • Contributor’s Guide
    • License

mrdocs::js::operator||

Return the first Value that is truthy, or the last one.

Synopses

Declared in <mrdocs/Support/JavaScript.hpp>

Return the first Value that is truthy, or the last one.

Value
operator||(
    Value const& lhs,
    Value const& rhs);

» more...

template<std::convertible_to<Value> S>
auto
operator||(
    S const& lhs,
    Value const& rhs) noexcept;

» more...

template<std::convertible_to<Value> S>
auto
operator||(
    Value const& lhs,
    S const& rhs) noexcept;

» more...

Created with MrDocs