validate_metadata.Rd
validate metadata as a list of length one atomic entries (or NULL)
validate_metadata(metadata)
object to be checked
object
NULL or throw error
NULL
validate_metadata(NULL) #> NULL validate_metadata(list(A = TRUE, B = 10, C = "test")) #> NULL if (FALSE) { validate_metadata(list(a = 1:10)) }