is.Date: Test if object is a 'Date' object

View source: R/utility_functions.R

is.DateR Documentation

Test if object is a Date object

Description

Test whether obj inherits one of Date or IDate.

Usage

is.Date(obj)

Arguments

obj

object to test on

Value

TRUE if obj is of class "Date" or "IDate".

Author(s)

Joonas Miettinen

See Also

⁠[get.yrs]⁠, ⁠[is_leap_year]⁠, ⁠[as.Date]⁠


popEpi documentation built on April 4, 2025, 2:51 a.m.