Skip to contents

Validates that an object is scalar hms::hms object using inherits(x, class) && length(x) == 1L && !anyNA(x).

Usage

vld_time(x)

Arguments

x

The object to check.

Value

A flag indicating whether the condition was met.

See also

Examples

vld_time(1)
#> [1] FALSE
vld_time(hms::as_hms("10:12:59"))
#> [1] TRUE