current_category/1
current_category(Category)Enumerates, by backtracking, all currently defined categories. All categories are found, either static, dynamic, or built-in.
current_category(?category_identifier)
- Category is neither a variable nor a valid category identifier:
type_error(category_identifier, Category)
| ?- current_category(monitoring).