value_can_intersect

function value_can_intersect(value1:GObject.Value, value2:GObject.Value):Boolean {
    // Gjs wrapper for gst_value_can_intersect()
}

Determines if intersecting two values will produce a valid result. Two values will produce a valid intersection if they have the same type, or if there is a method (registered by gst_value_register_intersect_func()) to calculate the intersection.

value1

a value to intersect

value2

another value to intersect

Returns

TRUE if the values can intersect