Skip to contents

Is it a Month-Day value (no year)?

Usage

is_month_day(x)

Arguments

x

A character vector.

Value

Logical vector; TRUE for Month D (e.g. February 6).

Examples

is_month_day(c("February 6", "February 1987", NA))
#> [1]  TRUE FALSE    NA