Test for objects of 'formattable' class

is.formattable(x)

Arguments

x

an object

Value

TRUE if x has class 'formattable'; FALSE otherwise.

Examples

is.formattable(10)
#> [1] FALSE
is.formattable(formattable(10))
#> [1] TRUE