Gst.Structure.prototype.can_intersect

function can_intersect(struct2:Gst.Structure):Boolean {
    // Gjs wrapper for gst_structure_can_intersect()
}

Tries intersecting struct1 and struct2 and reports whether the result would not be empty.

struct2

a Gst.Structure

Returns

true if intersection would not be empty