This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Subtracts 1 expression from another.
The subtract() method configures the aggregation pipeline to subtract the second expression from the first expression.
Expression to subtract second from. Expression must resolve to a number.
Expression to subtract from first. Expression must resolve to a number.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.