is_zoned_time: Is 'x' a zoned-time?

View source: R/zoned-time.R

is_zoned_timeR Documentation

Is x a zoned-time?

Description

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

Usage

is_zoned_time(x)

Arguments

x

⁠[object]⁠

An object.

Value

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

Examples

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

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