Logtalk reference manual
Built-in predicate: 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).

See also

abolish_category/1, create_category/4, current_category/2
complements_object/2, extends_category/2-3, imports_category/2-3