This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Finds the remainder when dividing 1 expression by another.
The mod()
method configures the aggregation pipeline to find the remainder when dividing the first expression by the second expression.
Expression to divide by second
to find the remainder. Expression must resolve to a number.
Expression to divide first
by. Expression must resolve to a non-zero number.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.