is_valid
Description:
[ Version ( since = "2.36" ) ]
public static bool is_valid (AsyncResult result, Object? source_object)
public static bool is_valid (AsyncResult result, Object? source_object)
Checks that result is a Task, and that source_object is its
source object (or that source_object is null and result has no source object).
This can be used in return_if_fail checks.
Parameters:
| result | |
| source_object |
the source object expected to be associated with the task |
Returns:
|
true if |