is_valid_hour: Check Validity of the Hour Portion in the Time Input

Description Usage Arguments Value Author(s) Examples

View source: R/assertions.R

Description

Hours are expected to range from 0 to 23

Usage

1

Arguments

arg

The argument to check

Value

TRUE if the argument is a valid hour input, FALSE otherwise

Author(s)

Samia Kabi

Examples

1
assertthat::assert_that(admiral:::is_valid_hour(20))

epijim/admiral documentation built on Feb. 13, 2022, 12:15 a.m.