vld_time: Validate Time

View source: R/vld.R

vld_timeR Documentation

Validate Time

Description

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

chk_time()

Examples

vld_time(1)
vld_time(hms::as_hms("10:12:59"))

dttr2 documentation built on Nov. 14, 2023, 5:10 p.m.