Skip to contents

This is a wrapper for [`validate_birthdays] in a [`tryCatch()`] in order to not error if the input object is invalid and returns `TRUE` or `FALSE` on if the object is valid. If the object is valid it can be "reconstructed" and not downgraded to a `data.frame`.

Usage

birthdays_can_reconstruct(x)

Arguments

x

A `data.frame` or subclass of `data.frame` (e.g. `tibble` or `birthdays`)

Value

A boolean logical (`TRUE` or `FALSE`)