Logtalk reference manual
Built-in predicate: abolish_object/1
Contents > Reference Manual > Built-in Predicates > abolish_object/1

## abolish_object/1

#### Description

    abolish_object(Object)

Abolishes a dynamic object.

#### Template and modes

    abolish_object(+object_identifier)

#### Errors

Object is a variable:
  `instantiation_error`
Object is neither a variable nor a valid object identifier:
  `type_error(object_identifier, Object)`
Object is an identifier of a static object:
  `permission_error(modify, static_object, Object)`
Object does not exist:
  `existence_error(object, Object)`

#### See also

`create_object/4`, `current_object/1`, `object_property/2`
`extends_object/2-3`, `instantiates_class/2-3`, `specializes_class/2-3`

#### Examples

    | ?- abolish_object(list).