Dereferences object's keys. If a value of a key implements [[DisposableObject]] interface, [dispose] method of the value will be invoked.
Target object.
Keys to dereference. Optional. By default all keys will be dereferenced.
Tries to dispose a given object if it implements [[DisposableObject]] interface. If the object does not implement the interface, but [deref] param is passed, the method will try to dereference all object's keys.
Target object to dispose.
A value indicating whether to perform dereferncing.
Indicates if a given object implements [[DisposableObject]] interface.
Target object.
Generated using TypeDoc
Indicates whether the instance is already disposed.