Function has_child

Summary

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

(1) bool has_child(size_t node, csubstr key) const

(2) bool has_child(size_t node, size_t ch) const

Function overload

Synopsis

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

bool has_child(size_t node, csubstr key) const

Description

No description yet.

Source

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

bool has_child(size_t node, csubstr key) const { return find_child(node, key) != npos; }

Synopsis

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

bool has_child(size_t node, size_t ch) const

Description

No description yet.

Source

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

bool has_child(size_t node, size_t ch) const { return child_pos(node, ch) != npos; }





Add Discussion as Guest

Log in