Format a type for error messages
friendly_type(type)
A type as returned by type_of()
or lang_type_of()
.
A string of the prettified type, qualified with an indefinite article.
# NOT RUN {
friendly_type("logical")
friendly_type("integer")
friendly_type("string")
# }
Run the code above in your browser using DataLab