abs( )


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 absolute value of an expression.

The abs() method configures the aggregation pipeline to find the absolute value of the specified expression.

Method Declaration
Copy
Method Parameters
expressionExpression

Expression to find the absolute value of. Expression must resolve to a number.

Returns
Return Type:AbsExpression
Errors

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

Did this help?