% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{is_member}
\alias{is_member}
\title{Test whether one taxon is nested within another}
\usage{
is_member(taxon, clade, verbose = FALSE)
}
\arguments{
\item{taxon}{A character string giving the taxon name to test.}

\item{clade}{A character string giving the clade name to test membership in.}

\item{verbose}{Logical. If \code{TRUE}, prints progress messages. Default \code{FALSE}.}
}
\value{
A logical value, or \code{NULL} if the taxon cannot be found.
}
\description{
Returns \code{TRUE} if \code{taxon} is a member of \code{clade} — i.e., if the clade name
appears in the taxon's lineage.
}
\examples{
\donttest{
is_member("Tyrannosaurus", "Theropoda")    # TRUE
is_member("Triceratops", "Theropoda")      # FALSE
is_member("Homo", "Amniota")               # TRUE
}
}
