Skip to main content

AssociateTo

AssociateTo[a,key->val] changes the association a by adding the key-value pair key->val.

AssociateTo[a,{key1->val1,key2->val2,…}] adds all key-value pairs keyi->vali.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.