Tests if something is a Disposable.
struct A { void dispose() { } } class B { void dispose() { } } interface C { void dispose(); } static assert(isDisposable!A); static assert(isDisposable!B); static assert(isDisposable!C);
See Implementation
Tests if something is a Disposable.