Gio.Cancellable.prototype.is_cancelled
function is_cancelled(): Boolean {
// Gjs wrapper for g_cancellable_is_cancelled()
}
Checks if a cancellable job has been cancelled.
- Returns
true if cancellable is cancelled, FALSE if called with null or if item is not cancelled.