is_year_week_day: Is 'x' a year-week-day?

View source: R/week-year-week-day.R

is_year_week_dayR Documentation

Is x a year-week-day?

Description

Check if x is a year-week-day.

Usage

is_year_week_day(x)

Arguments

x

⁠[object]⁠

An object.

Value

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

Examples

is_year_week_day(year_week_day(2019))

clock documentation built on May 31, 2023, 9:39 p.m.