is_sys_time: Is 'x' a sys-time?

View source: R/sys-time.R

is_sys_timeR 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)))

clock documentation built on Sept. 11, 2024, 8:39 p.m.