is_valid_month: Check Validity of the Month Portion in the Date Input

Description Usage Arguments Value Author(s) Examples

View source: R/assertions.R

Description

Days are expected to range from 1 to 12

Usage

1

Arguments

arg

The argument to check

Value

TRUE if the argument is a month input, FALSE otherwise

Author(s)

Samia Kabi

Examples

1
assertthat::assert_that(admiral:::is_valid_month(12))

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