<h2><code><aclass="back"title="Return to index"href="../index.html#retract1">retract/1</a></code></h2>
<hr/>
<h4>Description</h4>
<blockquote>
<pre>
retract(Clause)
retract((Head:-Body))
</pre>
<p>
Retracts a dynamic clause 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 a matching clause of any dynamic predicate in <aclass="glossary"title="Go to glossary definition"href="../../glossary.html#this">this</a>:</dt>
<dd><code>retract(Clause)</code></dd>
<dt>To retract a matching clause of a public or protected dynamic predicate in <aclass="glossary"title="Go to glossary definition"href="../../glossary.html#self">self</a>:</dt>
<dd><code>::retract(Clause)</code></dd>
<dt>To retract a matching clause of a public dynamic predicate in an object:</dt>