erase/1
erase(
+Ref)
Erases from the database the dynamic clause or recorded term referenced by Ref.
Erases from the database the dynamic clause or recorded term referenced by Ref. (Recorded terms are described in ref-mdb-idb.)
Ref must be a database reference to an existing clause or recorded term.
erase/1
is not sensitive to the source module; that is, it can erase
a clause even if that clause is neither defined in nor imported into the source
module.
instantiation_error
type_error
existence_error
abolish/[1,2]
,
assert/2
,
dynamic/1
,
retract/1
,
retractall/1
.