mrdocs::dom::Value::lookup

Lookup a sequence of keys.

Synopsis

Declared in <mrdocs/Dom/Value.hpp>

dom::Value
lookup(std::string_view keys) const;

Description

This function is equivalent to calling get multiple times, once for each key in the sequence of dot‐separated keys.

Return Value

The value at the end of the sequence, or a Value of type Kind::Undefined if any key is not found.

Parameters

Name

Description

keys

The dot‐separated sequence of keys.

Created with MrDocs