Return a non‐empty string, or a null.

Synopses

Declared in <mrdocs/Dom/Value.hpp>

Return a non‐empty string, or a null.

Value
stringOrNull(std::string_view s);

Return a non‐empty string, or a null.

Value
stringOrNull(std::string const& s);

Parameters

Name

Description

s

The string to check.

Created with MrDocs