This function determines if the input is a duration object.
Examples
is_duration(1)
#> [1] FALSE
is_duration(duration_days(1))
#> [1] TRUE
This function determines if the input is a duration object.
is_duration(1)
#> [1] FALSE
is_duration(duration_days(1))
#> [1] TRUE