Check if an object is a lama_dictionary class object

is.lama_dictionary(obj)

Arguments

obj

The object in question

Value

TRUE if the object is a lama_dictionary class object, FALSE otherwise.

See also

validate_lama_dictionary(), as.lama_dictionary(), new_lama_dictionary(), lama_translate(), lama_to_factor(), lama_translate_all(), lama_to_factor_all(), lama_read(), lama_write(), lama_translate(), lama_read(), lama_write(), lama_select(), lama_rename(), lama_mutate(), lama_merge()

Examples

# check if an object is a 'lama_dictionary' class object dict <- new_lama_dictionary(country = c(uk = "United Kingdom", fr = "France")) is.lama_dictionary(dict)
#> [1] TRUE