TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.38
Returns whether a test has already failed.
This will be the case when GLib.test_fail, GLib.test_incomplete or GLib.test_skip have been called, but also if an assertion has failed.
This can be useful to return early from a test if continuing after a failed assertion might be harmful.
The return value of this function is only meaningful if it is called from inside a test function.
true if the test has failed
2.38
Returns whether a test has already failed.
This will be the case when GLib.test_fail, GLib.test_incomplete or GLib.test_skip have been called, but also if an assertion has failed.
This can be useful to return early from a test if continuing after a failed assertion might be harmful.
The return value of this function is only meaningful if it is called from inside a test function.