StructUpdate
Method Signature
StructUpdate(struct=[modifiableStruct], key=[any], value=[any])Arguments
Argument
Type
Required
Description
Default
Examples
Updates a structure value at specific key
myStruct = {
A : 1,
B : 2,
C : 3,
D : 4
};
structUpdate( myStruct, "c", 15 );
writeDump( JSONSerialize( myStruct ) );
Additional Examples
Related
Last updated
Was this helpful?
