Format

A + B

Returns

The sum of A and B.

Adds A and B. The result of the operation depends on the types of values being added, mostly on A.

A typeB typeResult
num or null (0)num or null (0)Numeric sum
texttextNew string concatenating A and B, in order
icon or /iconicon or colorNew blended icon via ICON_ADD
matrixmatrixNew matrix with components added together
turf or pixlocvectorNew pixloc offset by B
vectorvectorNew vector with components added together
turf or pixlocNew pixloc offset by A

See also