Learn R Programming

beautier (version 2.6.12)

is_id: Determine if the object is a valid ID

Description

Determine if the object is a valid ID

Usage

is_id(x)

Value

TRUE if x is a valid ID, FALSE otherwise

Arguments

x

an object, to be determined if it is a valid ID

Author

Richèl J.C. Bilderbeek

See Also

to check multiple IDs, use are_ids

Examples

Run this code
check_empty_beautier_folder()

# TRUE
is_id("anthus_aco")
is_id(3)

# FALSE
is_id(ape::rcoal(3))
is_id(NULL)
is_id(NA)

check_empty_beautier_folder()

Run the code above in your browser using DataLab