This function determines if the input is a sys-time object.

is_sys_time(x)

Arguments

x

[object]

An object.

Value

TRUE if x inherits from "clock_sys_time", otherwise FALSE.

Examples

is_sys_time(1)
#> [1] FALSE
is_sys_time(as_sys_time(duration_days(1)))
#> [1] TRUE