friendly_type {rlang} | R Documentation |
Format a type for error messages
friendly_type(type)
type |
A type as returned by |
A string of the prettified type, qualified with an indefinite article.
Like type_of()
, friendly_type()
is experimental.
friendly_type("logical") friendly_type("integer") friendly_type("string")