Is this a domain object?

is_domain(x)

Arguments

x

any object

Value

Logical. TRUE if it is a domain object, FALSE if not.

Examples

is_domain(compose_description())
#> [1] TRUE