is_duration | R Documentation |
x
a duration?This function determines if the input is a duration object.
is_duration(x)
x |
An object. |
TRUE
if x
inherits from "clock_duration"
, otherwise FALSE
.
is_duration(1)
is_duration(duration_days(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.