Learn R Programming

clock (version 0.7.1)

is_naive_time: Is x a naive-time?

Description

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

Usage

is_naive_time(x)

Value

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

Arguments

x

[object]

An object.

Examples

Run this code
is_naive_time(1)
is_naive_time(as_naive_time(duration_days(1)))

Run the code above in your browser using DataLab