is_zoned_time: Is 'x' a zoned-time?

Description Usage Arguments Value Examples

View source: R/zoned-time.R

Description

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

Usage

1

Arguments

x

[object]

An object.

Value

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

Examples

1
2
is_zoned_time(1)
is_zoned_time(zoned_time_now("America/New_York"))

clock documentation built on April 23, 2021, 1:06 a.m.