Skip to main content

Append

This formula takes in a formula for a list and appends the result of the item formula to it, at the end. The item value must be of the same type as the sub_value_type for the list.

JSON Format

{
"type": "append",
"list": ...,
"item": ...,
"treat_as_set": ...
}

Fields

FieldTypeRequiredDescription
listStatFormulaComponentThe formula for the list. Must return an array (list).
itemStatFormulaComponentThe formula for the item to append to the list. The item value must be of the same type as the sub_value_type for the list.
treat_as_setboolOptional. False by default. If true, this formula will only append the item if the list doesn't contain it yet, ensuring a duplicate isn't added. Please note that if the list already contains duplicates, it will not purge them.