Gst.Structure.prototype.has_field

function has_field(fieldname:String):Boolean {
    // Gjs wrapper for gst_structure_has_field()
}

Check if structure contains a field named fieldname.

fieldname

the name of a field

Returns

TRUE if the structure contains a field with the given name