is_jdate {shide}R Documentation

Check an object for its class

Description

Usage

is_jdate(x)

is_jdatetime(x)

Arguments

x

An object to test.

Value

TRUE or FALSE.

Examples

is_jdate(jdate_now() + 1) # TRUE
is_jdatetime(jdatetime_now() + as.difftime(2, units = "hours")) # TRUE

[Package shide version 0.2.1 Index]