Class Negate

java.lang.Object
ortus.boxlang.runtime.operators.Negate
All Implemented Interfaces:
IOperator

public class Negate extends Object implements IOperator
Performs mathematic Negation a = -num
  • Constructor Details

    • Negate

      public Negate()
  • Method Details

    • invoke

      public static Number invoke(Object object)
      Parameters:
      object - The object to negate
      Returns:
      The result