Test if value inherit dates

is_date(x)

Arguments

x

values to test

Examples

Sys.Date() |> is_date()
#> [1] TRUE