x
R/sys-time.R
is_sys_time.Rd
This function determines if the input is a sys-time object.
is_sys_time(x)
[object]
An object.
TRUE if x inherits from "clock_sys_time", otherwise FALSE.
TRUE
"clock_sys_time"
FALSE
is_sys_time(1) #> [1] FALSE is_sys_time(as_sys_time(duration_days(1))) #> [1] TRUE