is_datetime: Conditional check for a datetime variable

View source: R/is_datetime.r

is_datetimeR Documentation

Conditional check for a datetime variable

Description

Return TRUE if the vector is a datetime.

Usage

is_datetime(x)

Arguments

x

A vector

Value

A boolean vector with the return from the condition check.

Examples


is_datetime(Sys.time())

is_datetime(Sys.Date())


vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.