is_year_day {clock}R Documentation

Is x a year-day?

Description

Check if x is a year-day.

Usage

is_year_day(x)

Arguments

x

⁠[object]⁠

An object.

Value

Returns TRUE if x inherits from "clock_year_day", otherwise returns FALSE.

Examples

is_year_day(year_day(2019))

[Package clock version 0.6.0 Index]