GLib.test_trap_has_passed

function test_trap_has_passed(): Boolean {
    // Gjs wrapper for g_test_trap_has_passed()
}
  

Check the result of the last GLib.test_trap_subprocess call.

Since 2.16

Returns

true if the last test subprocess terminated successfully.