code: function compare(var1, var2, operator) {
      switch (operator) {
          case Workflo.Comparator.equalTo || Workflo.Comparator.eq:
              return var1 === var2;
          case Workflo.Comparator.notEqualTo || Workflo.Comparator.ne:
              return var1 !== var2;
          case Workflo.Comparator.greaterThan || Workflo.Comparator.gt:
              return var1 > var2;
          case Workflo.Comparator.lessThan || Workflo.Comparator.lt:
              return var1 < var2;
      }
  }
docs: This function compares the values of two passed variables with a compare method defined in `operator`.
  
  The following compare methods are supported:
  
  - equals
  - not equals
  - less than
  - greater than
  
  @template Type the type of the compared variables
  @param var1 the first variable to be compared
  @param var2 the second variable to be compared
  @param operator defines the method to be used for the comparison (===, !==, <, >)
  @returns the result of the comparison