HasMember
![HasMember 1:](Images/jpg/13464519947__Web.jpg)
This method checks whether a certain property is present in the DOM memory. If the property is present the method returns TRUE, otherwise it returns FALSE.
Syntax
METHOD HasMember : BOOL
VAR_INPUT
v : SJsonValue;
END_VAR
VAR_IN_OUT CONSTANT
member : STRING;
END_VAR
Return value
Name | Type |
---|---|
HasMember | BOOL |
Inputs
Name | Type |
---|---|
v | SJsonValue |
/
Inputs/Outputs
Name | Type |
---|---|
member | STRING |
Sample call:
bHasMember := fbJson.HasMember(jsonDoc, 'PropertyName');