is.tree: Test if an object is a tree

Description Usage Arguments Value Examples

View source: R/is.tree.R

Description

The function is.tree returns TRUE if x is a tree, FALSE otherwise.

Usage

1
2
3

Arguments

x

An object to be tested.

Value

A logical.

Examples

1
2
## FALSE
is.tree(empty_tree())

oak documentation built on May 1, 2019, 9:13 p.m.

Related to is.tree in oak...