powered by
Validates that an object is scalar hms::hms object using inherits(x, class) && length(x) == 1L && !anyNA(x).
inherits(x, class) && length(x) == 1L && !anyNA(x)
vld_time(x)
A flag indicating whether the condition was met.
The object to check.
chk_time()
vld_time(1) vld_time(hms::as_hms("10:12:59"))
Run the code above in your browser using DataLab