Skip to contents

Is an object a TreeNumber object?

Usage

is.TreeNumber(x)

Arguments

x

R object.

Value

is.TreeNumber() returns a logical vector of length one specifying whether x inherits the class "TreeNumber".

See also

Other 'TreeNumber' utilities: TreeNumber, print.TreeNumber()

Examples

is.TreeNumber(FALSE) # FALSE 
#> [1] FALSE
is.TreeNumber(as.TreeNumber(BalancedTree(5))) # TRUE
#> [1] TRUE