The node kind ("leaf", "list", "object", or "null"; see
tree_root_kind()) of each top-level child of a list or object tree.
Examples
tree_child_kinds(build_tree(list(1, list(2), NULL)))
#> [1] "leaf" "list" "null"
The node kind ("leaf", "list", "object", or "null"; see
tree_root_kind()) of each top-level child of a list or object tree.
tree_child_kinds(build_tree(list(1, list(2), NULL)))
#> [1] "leaf" "list" "null"