Gst.Caps.prototype.is_equal

function is_equal(caps2:Gst.Caps):Boolean {
    // Gjs wrapper for gst_caps_is_equal()
}

Checks if the given caps represent the same set of caps.

caps2

another Gst.Caps

Returns

TRUE if both caps are equal.