Gio.AsyncResult.prototype.is_tagged

function is_tagged(source_tag: void): Boolean {
    // Gjs wrapper for g_async_result_is_tagged()
}
  

Checks if res has the given source_tag (generally a function pointer indicating the function res was created by).

Since 2.34

source_tag

an application-defined tag

Returns

true if res has the indicated source_tag, false if not.