Function is_root

Synopsis

#include <src/c4/yml/tree.hpp>

bool is_root(size_t node) const

Description

No description yet.

Source

Lines 621-621 in src/c4/yml/tree.hpp.

bool is_root(size_t node) const { RYML_ASSERT(_p(node)->m_parent != NONE || node == 0); return _p(node)->m_parent == NONE; }





Add Discussion as Guest

Log in