Learn R Programming

era (version 0.4.1)

is_era_year: Validation functions for era_year objects

Description

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

Usage

is_era_year(x)

Value

TRUE or FALSE.

Arguments

x

Object to test.

See Also

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

Examples

Run this code
is_era_year(era_year("Julian", 365.25))

Run the code above in your browser using DataLab