R/check.R
check_duration.Rd
Checks an object is a dtt_duration.
dtt_duration
check_duration(x, x_name = substitute(x))
The object to check.
A string of the name of the object.
An invisible copy of x (if it doesn't throw an error).
check_duration(dtt_duration(1L))