abs specification
This is an alias for a hypothetical operator, abs.
Overview
abs emits the absolute value of a number. We recommend using distanceFrom(0) to achieve this result.
Example usage
stream.distanceFrom(0)
upstream | downstream
20 | 20
-1 | 1
-50 | 50