is_ancestor | R Documentation |
Helper function to check if a node is an ancestor of another node in the code hierarchy, preventing circular references when moving items.
is_ancestor(potential_ancestor, node)
potential_ancestor |
Node object to check as potential ancestor |
node |
Node object to check ancestry against |
Logical indicating whether potential_ancestor is an ancestor of node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.