Skip to contents

Check if an object is of the taxon class

Usage

is_taxon(x)

Arguments

x

An object to test

Examples

x <- taxon(c('A', 'B', 'C'))
is_taxon(x)
#> [1] TRUE
is_taxon(1:2)
#> [1] FALSE