mrdocs::js::operator||

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

Synopsis

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

This function is a hidden friend of Value, declared only inside that class: it can be found only through argument-dependent lookup.

Description

This function is equivalent to the JavaScript || operator.

Return Value

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

Parameters

Name

Description

lhs

The left operand

rhs

The right operand

Created with MrDocs