Learn R Programming

clock (version 0.7.1)

is_sys_time: Is x a sys-time?

Description

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

Usage

is_sys_time(x)

Value

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

Arguments

x

[object]

An object.

Examples

Run this code
is_sys_time(1)
is_sys_time(as_sys_time(duration_days(1)))

Run the code above in your browser using DataLab