predicate_property/2
predicate_property(Predicate, Property)Enumerates, by backtracking, the properties of a visible predicate.
predicate_property(+callable, ?predicate_property)
- Predicate is a variable:
instantiation_error
- Predicate is neither a variable nor a callable term:
type_error(callable, Predicate)
- Property is neither a variable nor a valid predicate property:
domain_error(predicate_property, Property)
- To enumerate, by backtracking, the properties of a predicate visible in this:
predicate_property(foo(_), Property)
- To enumerate, by backtracking, the properties of a public or protected predicate visible in self:
::predicate_property(foo(_), Property)
- To enumerate, by backtracking, the properties of a public predicate visible in an object:
Object::predicate_property(foo(_), Property)
Previous | Next | Table of Contents | Bibliography | Glossary
Last updated on: October 21, 2001