This function allows the user to recursively/non-recursively access a block object's children. NOTE: Pages are also blocks and therefore may have children as well.

children(x, recursive = TRUE)

Arguments

x

A page or block.

recursive

A boolean value. If TRUE, this will recursively access all children of the specified block. If FALSE, it will return only the first level of block children.

Value

If recursive, a tree containing all block children. Otherwise a single-level list of block children.