Enumerates, by backtracking, the properties associated with the defined objects. The valid properties are listed in the language grammar section on entity properties and described in the User Manual section on object properties.
Modes and number of proofs¶
object_property(?object_identifier, ?object_property) - zero_or_more
Objectis neither a variable nor a valid object identifier:
Propertyis neither a variable nor a callable term:
Propertyis a callable term but not a valid object property:
% enumerate the properties of the logtalk built-in object: | ?- object_property(logtalk, Property). Property = context_switching_calls ; Property = source_data ; Property = threaded ; Property = static ; Property = built_in ; ...