<h2><code><aclass="back"title="Return to index"href="../index.html#retractall1">retractall/1</a></code></h2>
<hr/>
<h4>Description</h4>
<blockquote>
<pre>
retractall(Head)
</pre>
<p>
Retracts all matching predicates from an object. Note however that if the clauses for the dynamic predicate are contained in a category the predicate will fail.
<dt>To retract all matching predicate definitions in <aclass="glossary"title="Go to glossary definition"href="../../glossary.html#this">this</a>:</dt>
<dd><code>retractall(Head)</code></dd>
<dt>To retract all matching public or protected predicate definitions in <aclass="glossary"title="Go to glossary definition"href="../../glossary.html#self">self</a>:</dt>
<dd><code>::retractall(Head)</code></dd>
<dt>To retract all matching public predicate definitions in an object:</dt>