Class AbsFunction

  • All Implemented Interfaces:
    Function, Serializable

    public class AbsFunction
    extends FunctionBase
    implements Function
    http://docs.jsonata.org/numeric-functions.html $abs(number) Returns the absolute value of the number parameter, i.e. if the number is negative, it returns the positive value. If number is not specified (i.e. this function is invoked with no arguments), then the context value is used as the value of number. Examples $abs(5)==5 $abs(-5)==5
    See Also:
    Serialized Form