Returns true when the class registers cleanup through Angular's DestroyRef (e.g. this.destroyRef.onDestroy(...) or inject(DestroyRef).onDestroy(...)).
DestroyRef
this.destroyRef.onDestroy(...)
inject(DestroyRef).onDestroy(...)
Returns true when the class registers cleanup through Angular's
DestroyRef(e.g.this.destroyRef.onDestroy(...)orinject(DestroyRef).onDestroy(...)).