Learn R Programming

clock (version 0.7.1)

is_zoned_time: Is x a zoned-time?

Description

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

Usage

is_zoned_time(x)

Value

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

Arguments

x

[object]

An object.

Examples

Run this code
is_zoned_time(1)
is_zoned_time(zoned_time_now("America/New_York"))

Run the code above in your browser using DataLab