Disposes the IDisposable passed as "this".
true if the object was disposed, false otherwise.
const disposable: IDisposable = ...;const disposeFn = disposeThis.bind(disposable);disposeFn(); Copy
const disposable: IDisposable = ...;const disposeFn = disposeThis.bind(disposable);disposeFn();
Generated using TypeDoc
Disposes the IDisposable passed as "this".