Skip to contents

Tests whether an object is of class era_year (constructed by era_year()).

Usage

is_era_year(x)

Arguments

x

Object to test.

Value

TRUE or FALSE.

See also

Other era helper functions: era_parameters, era_year_parameters, era_year, era, is_era(), is_yr(), this_year()

Examples

is_era_year(era_year("Julian", 365.25))
#> [1] TRUE