CancelGuard.isCancelled

bool isCancelled() @property const @safe nothrow @nogc

Check if this guard has been cancelled.

Returns

true when the guard's source has been cancelled.