utils_is_time {distantia} | R Documentation |
Title
Description
Title
Usage
utils_is_time(x = NULL)
Arguments
x |
(required, vector) Vector to test. If the class of the vector elements is 'numeric', 'POSIXct', or 'Date', the function returns TRUE. Default: NULL. |
Value
logical
See Also
Other internal_time_handling:
utils_as_time()
,
utils_coerce_time_class()
,
utils_new_time()
,
utils_time_keywords()
,
utils_time_keywords_dictionary()
,
utils_time_keywords_translate()
,
utils_time_units()
Examples
utils_is_time(
x = c("2024-01-01", "2024-02-01")
)
utils_is_time(
x = utils_as_time(
x = c("2024-01-01", "2024-02-01")
)
)
[Package distantia version 2.0.0 Index]