value_intersect
function value_intersect(value1:GObject.Value, value2:GObject.Value):Boolean { // Gjs wrapper for gst_value_intersect() }
Calculates the intersection of two values. If the values have a non-empty intersection, the value representing the intersection is placed in dest, unless NULL. If the intersection is non-empty, dest is not modified.
- value1
a value to intersect
- value2
another value to intersect
- Returns
TRUE if the intersection is non-empty