Skip to contents

is_datelife_query checks for two things to be TRUE or FALSE. First, that input is of class datelifeQuery. Second, that input is a list that contains at least two elements of a datelifeQuery object:

cleaned_names

A character vector of taxon names.

phy

Either NA or a phylo object.

Usage

is_datelife_query(input)

Arguments

input

An object to be checked as an object with essential properties of a 'datelifeQuery' object.

Value

Is determined by the second condition.

Details

If the object has the correct format but it has a class different than datelifeQuery, the class is not modified.