Finds an element named name
and sets its value to value
, or appends a new element, in case no such named
element exists in the this yet.
In case there are more elements named with name
only the first occurrence is changed. The compare_type
determines how to compare the names.
this | |
compare_type |
a compare type, one of CompareType |
name |
a name |
value |
a value |
Whether the this changed. See: camel_name_value_array_append, camel_name_value_array_set |