is.TreeNumber: Is an object a 'TreeNumber' object?

View source: R/TreeNumber.R

is.TreeNumberR Documentation

Is an object a TreeNumber object?

Description

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".

Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)

See Also

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

Examples

is.TreeNumber(FALSE) # FALSE 
is.TreeNumber(as.TreeNumber(BalancedTree(5))) # TRUE

TreeTools documentation built on Sept. 11, 2024, 8:27 p.m.