Skip to contents

Return TRUE if the vector is a date.

Usage

is_date(x)

Arguments

x

A vector

Value

A boolean vector with the return from the condition check.

Examples


is_date(Sys.time())
#> [1] FALSE

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