for single value, return value as string. For vector of values return string of comma-separated values enclosed in curly brackets

nice_format(x)

Arguments

x

Value to convert to string

Details

x is single value or vector of values