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 typeB typeResult
num or null (0)num or null (0)Numeric subtraction
icon or /iconicon or colorNew blended icon via ICON_SUBTRACT
matrixmatrixNew matrix with components subtracted
turf or pixlocvectorNew pixloc offset by -B
pixlocturf or pixlocNew vector from A to B
vectorvectorNew vector with components subtracted

See also