mod( )


Developer Preview

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.

Method Declaration
Copy
Method Parameters
firstExpression

Expression to divide by second to find the remainder. Expression must resolve to a number.


secondExpression

Expression to divide first by. Expression must resolve to a non-zero number.

Returns
Return Type:ModExpression
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?