vld_time {dttr2} | R Documentation |
Validates that an object is scalar hms::hms object
using
inherits(x, class) && length(x) == 1L && !anyNA(x)
.
vld_time(x)
x |
The object to check. |
A flag indicating whether the condition was met.
vld_time(1)
vld_time(hms::as_hms("10:12:59"))