is_naive_time: Is 'x' a naive-time?

View source: R/naive-time.R

is_naive_timeR Documentation

Is x a naive-time?

Description

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

Usage

is_naive_time(x)

Arguments

x

⁠[object]⁠

An object.

Value

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

Examples

is_naive_time(1)
is_naive_time(as_naive_time(duration_days(1)))

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