Structure.hasFieldTyped

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

class Structure
bool
hasFieldTyped

Parameters

fieldname string

the name of a field

type GType

the type of a value

Return Value

Type: bool

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

Meta