powered by
Check if an object is of the taxon class
is_taxon(x)
An object to test
x <- taxon(c('A', 'B', 'C')) is_taxon(x) is_taxon(1:2)
Run the code above in your browser using DataLab