chk_time | R Documentation |
Checks if scalar hms object using vld_time()
.
chk_time(x, x_name = NULL)
x |
The object to check. |
x_name |
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()
chk_time(hms::as_hms("10:00:10"))
try(chk_time(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.