Test if an object is metadata.

is_metadata(x)

Arguments

x

Any R object

Value

logical, TRUE if the object inherits from the metadata class.

Examples

library(salinasr) meta <- sal_get_metadata("bikeways") is_metadata(meta)
#> [1] TRUE