is_taxon_rank: Check if something is a taxon_rank

View source: R/taxon_rank.R

is_taxon_rankR Documentation

Check if something is a taxon_rank

Description

Check if an object is of the taxon_rank class

Usage

is_taxon_rank(x)

Arguments

x

An object to test

Examples

x <- taxon_rank(c('species', 'species', 'phylum', 'family'))
is_taxon_rank(x)
is_taxon_rank(1:3)


ropenscilabs/taxa documentation built on Feb. 23, 2024, 6:31 p.m.