is_taxon_id: Check if something is a taxon_id object

View source: R/taxon_id.R

is_taxon_idR Documentation

Check if something is a taxon_id object

Description

Check if an object is of the taxon_id class

Usage

is_taxon_id(x)

Arguments

x

An object to test

Examples

x <- taxon_id(c('9606', '1386', '4890', '4345'), db = 'ncbi')
is_taxon_id(x)
is_taxon_id(1:3)


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