Format
A - B
-B
Returns
The subtraction of B from A.
Subtracts B from A. The result of the operation depends on the types of values being subtracted, mostly on A.
A type | B type | Result |
---|---|---|
num or null (0) | num or null (0) | Numeric subtraction |
icon or /icon | icon or color | New blended icon via ICON_SUBTRACT |
matrix | matrix | New matrix with components subtracted |
turf or pixloc | vector | New pixloc offset by -B |
pixloc | turf or pixloc | New vector from A to B |
vector | vector | New vector with components subtracted |