protocol_property/2
protocol_property(Protocol, Property)Enumerates, by backtracking, the properties associated with the currently defined protocols.
protocol_property(?protocol_identifier, ?protocol_property)
- Protocol is neither a variable nor a valid protocol identifier:
type_error(protocol_identifier, Protocol)
- Property is neither a variable nor a valid protocol property:
domain_error(protocol_property, Property)
| ?- protocol_property(listp, Property).