is_sys_time {clock}R Documentation

Is x a sys-time?

Description

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

Usage

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)
is_sys_time(as_sys_time(duration_days(1)))

[Package clock version 0.6.0 Index]