This function checks whether x is of class labelled.

is_labelled(x)

Arguments

x

An object.

Value

Logical, TRUE if x inherits from class labelled, FALSE otherwise.