Returns the ArangoDocument corresponding to the species to which the given taxon x points at (directly or indirectly). Thus x is expected to be an infraspecific taxon. If x is a species, x is returned. A genus will return NULL.
Arguments
- x
 An
ArangoDocumentcorresponding to a taxon in a flora list.- florula.collection
 An
ArangoCollectioncontaining a flora list.
Value
An ArangoDocument corresponding to the species to which the given taxon x points at. If x is a species, the function returns x. If x is a genus returns NULL.
Details
The given ArangoDocument is expected to come from a flora list where all documents must have one (and only one) of these attributes: "genus", "epithet", "subspecies", "variety", "form".
Author
Tiago Monteiro-Henriques. E-mail: tmh.dev@icloud.com.