Gst.Structure.prototype.get_field_type

function get_field_type(fieldname:String):GType {
    // Gjs wrapper for gst_structure_get_field_type()
}

Finds the field with the given name, and returns the type of the value it contains. If the field is not found, G_TYPE_INVALID is returned.

fieldname

the name of the field

Returns

the GObject.Value of the field