WebKit2.WebView.prototype.can_execute_editing_command_finish

function can_execute_editing_command_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for webkit_web_view_can_execute_editing_command_finish()
}
  

Finish an asynchronous operation started with WebKit2.WebView.prototype.can_execute_editing_command.

result

a Gio.AsyncResult

Returns

true if the editing command can be executed or false otherwise