Has Date
has_date_attribute.RdBasic check if item has a 'date' attribute.
Usage
has_date_attribute(config, item = get_context())Details
When item is set in the parent frame, then the attribute can be skipped
in the function call.
Examples
has_date_attribute(design(project = "test"))
#> Warning: Can't guess the item name (id) from the environment!
#> Warning: Item does not exist!
#> [1] FALSE