Gst.Structure.prototype.has_field_typed

function has_field_typed(fieldname:String, type:GType):Boolean {
    // Gjs wrapper for gst_structure_has_field_typed()
}

Check if structure contains a field named fieldname and with GType type.

fieldname

the name of a field

type

the type of a value

Returns

TRUE if the structure contains a field with the given name and type