Checks if scalar hms object using vld_time()
.
chk_time(x, x_name = NULL)
The object to check.
A string of the name of object x or NULL.
NULL
, invisibly. Called for the side effect of throwing an error
if the condition is not met.
Other check:
check_tz()