Learn R Programming

clock (version 0.7.1)

is_year_month_day: Is x a year-month-day?

Description

Check if x is a year-month-day.

Usage

is_year_month_day(x)

Value

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

Arguments

x

[object]

An object.

Examples

Run this code
is_year_month_day(year_month_day(2019))

Run the code above in your browser using DataLab