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 type | B type | Result |
---|---|---|
num or null (0) | num or null (0) | Numeric sum |
text | text | New string concatenating A and B, in order |
icon or /icon | icon or color | New blended icon via ICON_ADD |
matrix | matrix | New matrix with components added together |
turf or pixloc | vector | New pixloc offset by B |
vector | vector | New vector with components added together |
turf or pixloc | New pixloc offset by A |