Logtalk reference manual
Built-in predicate: category_property/2
Contents > Reference Manual > Built-in Predicates > category_property/2

## category_property/2

#### Description

    category_property(Category, Property)

Enumerates, by backtracking, the properties associated with the defined categories. The valid category properties are listed in the language grammar.

#### Template and modes

    category_property(?category_identifier, ?category_property)

#### Errors

Category is neither a variable nor a valid category identifier:
  `type_error(category_identifier, Category)`
Property is neither a variable nor a callable term:
  `type_error(callable, Property)`
Property is a callable term but not a valid category property:
  `domain_error(category_property, Property)`

#### Examples

    | ?- category_property(Category, dynamic).