Gst.Structure.prototype.is_subset

function is_subset(superset:Gst.Structure):Boolean {
    // Gjs wrapper for gst_structure_is_subset()
}

Checks if subset is a subset of superset, i.e. has the same structure name and for all fields that are existing in superset, subset has a value that is a subset of the value in superset.

superset

a potentially greater Gst.Structure

Returns

true if subset is a subset of superset