Structure.hasFieldTyped

bool hasFieldTyped(string fieldname, gobject.types.GType type)

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

Parameters

fieldnamethe name of a field
typethe type of a value

Returns

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