Structure.hasField

Check if @structure contains a field named @fieldname.

class Structure
bool
hasField
(
string fieldname
)

Parameters

fieldname string

the name of a field

Return Value

Type: bool

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

Meta